hacker news with inline top comments    .. more ..    5 Jul 2015 News
home   ask   best   4 years ago   
After simple dental surgery, William lost his ability to form new memories bbc.com
112 points by denzil_correa  4 hours ago   63 comments top 14
vvpan 34 minutes ago 2 replies      
A few comments in this thread mention "genera anaesthesia side effects" and long-term problems. I have never heard of this and a quick wikipedia/google search is not bringing up good source on the topic. Is this substantiated or another "vaccines cause autism" kind of thing?
csomar 3 hours ago 4 replies      
The doctors initially suspected that hed reacted badly to the anaesthetic, causing a brain haemorrhage yet they failed to find evidence of injury. So he was discharged with the mystery still hanging over him, and the family moved back to England, where he was referred to the office of Gerald Burgess, a clinical psychologist in Leicester.

Scouring the medical literature, he found five similar cases of mysterious memory loss without brain damage. Although none occurred during a trip to the dentist, they do seem to follow other periods of physiological stress during a medical emergency.

That doesn't prove that the anaesthetic isn't the root cause. The article title sounds link-baity.

noblethrasher 3 hours ago 2 replies      
In a talk that I attended, Steve Wozniak mentioned that he studied a lot of psychology when he returned to the university after leaving Apple. He thinks that he may have been the first person to have come up with idea that we lose our memories with our teeth, and that researchers later discovered a link between the loss of our early autobiographical memories and the loss of our baby teeth.
iopq 3 hours ago 1 reply      
This is the condition that was described in Memento. Really fascinating stuff. It makes me want to keep notes on everything, because most people rely on their memory for a lot of things. When we forget something we are frustrated "Oh darn, I forgot it again!". Imagine not being able to remember anything at all...
Foy 4 hours ago 3 replies      
>he wakes up every morning believing he is still in Germany in 2005, waiting to visit the dentist. Without a record of new experiences, the passing of time means nothing to him. Today, he only knows that there is a problem because he and his wife have written detailed notes on his smartphone, in a file labelled First thing read this.

Literally 50 First Dates...

exizt88 3 hours ago 0 replies      
A comparably horrifying experience: https://en.wikipedia.org/wiki/Clive_Wearing
djfm 31 minutes ago 0 replies      
If no link can be found between the dental surgery and the memory-forming loss, could it be that there is actually no link? Have any other hypotheses been researched besides the surgery?
atarian 47 minutes ago 0 replies      
>local anesthetic

Local anesthetic is pretty much just a pain killer... it's not supposed to knock you out like GA (general anesthetic). I wonder if the article got the term right.

bite_victim 2 hours ago 0 replies      
Any chance he suffered a profound trauma being under surgery? I imagine an utter fear of surgery and this could have been triggered by something really insignificant like a small tingling or just the thought of surgery, of a foreign element cutting deep in your tooth canal. That, amplified over and over (he might even have lost conscience if his jaw was being held in place by a device -- the doctor wouldn't have known it this way) could have given birth of some kind of mechanism of memory wipe, sort of like the one victims of rape or horrible accidents develop as a self defence mechanism to (not?) cope with what just happened. Only in this case it went terribly wrong.
HappyTypist 3 hours ago 1 reply      
Most people took a little bit of time to get familiar with smartphone UIs, especially for someone who's jumping from no smart phone at all to the latest version of iOS and Android. I wonder if he has been slowly learning how to use a smartphone like the other condition, or if he has to rediscover the UI every time.
ioquatix 2 hours ago 0 replies      
There is a Japanese movie about this: https://en.wikipedia.org/wiki/The_Housekeeper_and_the_Profes...

I highly recommend it, especially if you are a mathematician.

yoha 3 hours ago 0 replies      
rayalez 1 hour ago 1 reply      
Damaging my mind is my biggest fear. I had a simple surgery a year ago(shoulder arthroscopy), and I specifically said that I don't agree to general anesthesia or any kind of sedatives, because even a small probability of a small brain damage isn't worth it for me.

Doctors tried to push me into accepting the general anesthesia, saying that it's the only option(and that we lose brain cells every day really, so who cares). I went to a different clinic where a doctor agreed to do the surgery under local anesthetics and without sedation without any problems. Said someting along the lines "don't worry, man, your brain is gonna be fine."

He failed to mention that local anesthesia can also lead to neurotoxicity, and I was too ignorant to know about it(for some reason I assumed that local anesthetics are harmless, and didn't do my research).

During the surgery I felt the symptomps(dizziness, difficulty speaking), consistent with neurotoxicity caused by local anesthetics.

I don't notice any permanent damage, though I doubt that I'd be able to tell. 6 months after the surgery I have developed tinnitus, but I can't tell if it's connected to it or not.

Anyway, my point is that no way in hell would I agree to the surgery if I'd have known the risks.

Also, before that, doctors pushed me into unnecessarily taking general anesthesia for a routine procedure. They convinced me that it can't be harmful, and I was too young and socially awkward to ask more questions or argue.

I also fear dental anesthetics. There is research indicating that they can cause neurotoxocity. I can easily sit through filling regular cavities(with a dental laser it really isn't that painful), but I'm not sure what I would do if I have to get root canal. I would take any option over anesthesia, but I don't know of any alternative.

Some doctors say that it's just an irrational fear. But given that there's some research saying that even dental anesthesia can cause neurotixicity, I'm not sure what's so irrational about not wanting my brain cells to die. My brain is what matters to me the most in the world, far more than anything else, it has infinite value, because that's literally "me", so even small chance of small damage is worth avoiding at all cost(in my value system).

It's infuriating how casual doctors are about such risks, especially in cases when they can be avoided. I understand taking necessary risks when it's a life-saving surgery, but when you have alternatives, I think patient should be able to make an informed choice.

piyushpr134 55 minutes ago 0 replies      
Somebody call Dr. House!
We take security seriously troyhunt.com
48 points by wglb  2 hours ago   41 comments top 8
VieElm 28 minutes ago 3 replies      
I don't understand the criticism, what are they supposed to say instead? When an attacked company says "we take security seriously" it's probably a statement made by someone in the company who really does care about it and is probably pretty upset about the whole ordeal and wants to fix it. This whole attitude about corporations always being these evil lifeless monoliths who don't care about anything and are just saying whatever they need to stands in contrast with any place I've ever worked. Some of these companies are staffed by people who do care and want to do the right thing and I don't understand what the OP thinks they should say instead.
jedberg 20 minutes ago 1 reply      
Security is a business cost like anything else and there are tradeoffs. All of these companies have decided that the risk of losing this data was worth the cost savings of not protecting against the attack. So far they all seem to be right (not even Sony went out of business after their massive breach).

So it's perfectly reasonable for them to say they take security seriously and then have these breaches. They take it exactly as seriously as needed to keep their business alive.

Having been on that eBay security team mentioned, I can tell you that we did in fact take security seriously. And sometimes what we recommended was done, and sometimes it was decided the cost wasn't worth the risk. But we were always serious about it.

gesman 1 minute ago 0 replies      
Hackers takes your security (and your money) seriously too.
__david__ 13 minutes ago 0 replies      
Though the words are nominally the same, the FBI quote has a distinctly different meaning than all the othersI don't think it's quite fair to lump it in with the rest. The FBI saying "we take threats seriously" means they are willing to throw money at investigations and prosecutions. The other companies don't have that particular power.
nailer 47 minutes ago 2 replies      
The Adult Friend Finder attack in particular is awful - the leaked data is incredibly sensitive and could be used to blackmail or manipulate the victims.
nickpsecurity 19 minutes ago 0 replies      
Anytime I see "We take security seriously" I get double skeptical about their security stance. This is something that's best demonstrated by simply doing it and the results speak for themselves. There's an obvious contrast between organizations with well-managed INFOSEC and those that pretend. Especially when a vulnerability is reported or a breach occurs. Extra-obvious then.

Businesses, just practice INFOSEC instead of preaching it. Better that way.

ProAm 33 minutes ago 0 replies      
Taking security seriously, and knowing what you are doing are often mutually exclusive in business.
benoliver999 1 hour ago 7 replies      
People in the know: how do these breaches keep happening?
New Horizons enters safe mode 10 days before Pluto flyby planetary.org
14 points by dandelany  1 hour ago   discuss
A Year of Spaced Repetition Software in the Classroom lesswrong.com
69 points by eurg  4 hours ago   14 comments top 5
qznc 12 minutes ago 0 replies      
Sounds like an interesting startup idea: SRS for classrooms

Probably not a millionaire-in-5-years or one-man-lifestyle business. More of a improve-the-world kind.

pella 2 hours ago 1 reply      

Sivers: "Memorizing a programming language using spaced repetition software" ( 2013)

https://sivers.org/srs HN: https://news.ycombinator.com/item?id=5015183 )


Janki Method: Using spaced repetition systems to learn and retain technical knowledge.




Gwern: SPACED REPETITION : http://www.gwern.net/Spaced%20repetition

cJ0th 2 hours ago 4 replies      
I overestimated the effect of spaced repetition. For six months, I used Anki every day to recap Chinese characters. At the end of the term I was perfectly prepared for the test. Afterwards, I didn't study my flash cards again. Only a few weeks later I found out that I've forgotten most characters or at least some of their details. I expected that after six months of daily practice (about 20 minutes per day) I would have stored at least some characters in my long term memory.
hiq 2 hours ago 0 replies      
For those interested in memory and learning and who want some hints on why SRS work, Make It Stick[1] is probably a must-read.

[1] http://makeitstick.net/

1123581321 1 hour ago 0 replies      
I used to be very excited about spaced repetition, but haven't taken it as seriously in several years. Yes, it is superior to more ordinary methods of quizzing vocabulary, and I would still use it if I had to pass a vocabulary/fact test on a subject I didn't care about.

As a method of developing real competency in a subject or practice, though, it offers none of the benefits of immersion as it keeps the student just on the edge of full engagement (and if we add immersion, we lose the time-savings that spaced repetition offers.) It introduces a fragility into the student's schedule that make lapses in 'discipline' more likely (not everyone has a teacher and regular subject periods to keep them on task.) For anything beyond basic key-value learning, it requires too many contortions and restatements of the subject -- to fit the format -- to be feasible for many students/subjects. The packaged decks available online help but usually don't meet the needs of the specific course or subject concentration the student requires. We can introduce variability to space how to solve a problem instead of a 'what' answer, but then we need to consider muscle memory, developing intuition and other things that the spaced repetition model does not address.

Archivists are racing to digitise 300 years of newspapers before they crumble theguardian.com
21 points by samclemens  2 hours ago   5 comments top 2
bane 21 minutes ago 0 replies      
Out of curiosity, there's a huge number of newspapers already archived on microfilm (unless it's been all thrown away). I'm sure digitizing from microfilm will be a reasonable alternative.
ams6110 43 minutes ago 2 replies      
Hm. Yet to be proven that any digital storage will last anywhere close to that long. At best it will be a continually active process of refreshing the archive and converting the data to whatever storage media and formats are currently in use.
Graphic Presentation (1939) archive.org
33 points by stared  3 hours ago   5 comments top 4
brudgers 1 hour ago 0 replies      
By capturing abstractions over graphic formats it reminds me a bit of Alexander's A Pattern Language and its relationship to buildings. The chapter on Quantitative Cartoons gave me one of those "that thing has a name" moments and afterwhich a previously unremarkable piece of the cultural furniture becomes remarkable because we get a new way of seeing.
freekh 1 hour ago 1 reply      
Wow! This is truly incredible!
cariaso 2 hours ago 0 replies      
wow, more Tufte than Tufte and much earlier.
Qwerty404 2 hours ago 0 replies      
it's interesting!
Mongolian shipwreck from 13th century invasion of Japan discovered ibtimes.co.uk
14 points by diodorus  2 hours ago   1 comment top
Why Deep Learning Works II: the Renormalization Group charlesmartin14.wordpress.com
47 points by miket  4 hours ago   26 comments top 6
albertzeyer 3 hours ago 1 reply      
Note: This is about unsupervised learning and mostly about RBMs/DBNs. Most of the Deep Learning success is all about supervised learning. In the past, RBMs have been used for unsupervised pretraining of the model, however, nowadays, everyone uses supervised pretraining.

And the famous DeepMind works (Atari games etc) is mostly about Reinforcement learning, which is again different.

paulpauper 41 minutes ago 1 reply      
I think this is similar to the scalar theory of the stock market, which uses scale invariant geometric objects to represent stock market emery levels


Sornettes 2013 TED video, in which he predicts an imminent stock market crash due to some power law, is also wrong because two years later the stock market has continued to rally.

You write on your blog:

These kinds of crashes are not caused by external events or bad playersthey are endemic to all markets and result from the cooperative actions of all participants.

Easier said than done. I don't think the log periodic theory is a holy grail to making money in the market. There are too many instances here it has failed, but you cherry-picked a single example with bitcoin where it could have worked.

milesf 2 hours ago 5 replies      
Okay, I confess. I really didn't understand most of that post. It sounds really smart, but someone will have to vouch that it's legit, because the picture of Kadanoff cuddling Cookie Monster trigged my baloney detector https://charlesmartin14.files.wordpress.com/2015/04/kadanoff...
noobermin 37 minutes ago 0 replies      
And here I thought the renormalization group had no application outside high energy physics and condensed matter. May be I should have stuck with HEP after all.
jmount 53 minutes ago 0 replies      
I think a key difference is the physics renormalization structures use fairly regular or uniform weights and the deep learning plays a lot with the weights. So there are going to be pretty big differences in behavior.
reader5000 2 hours ago 4 replies      
Is the "group" in renormalization group the same "group" in group theory?
Why Invest in Tools? medium.com
44 points by clessg  5 hours ago   9 comments top 3
nickpsecurity 1 hour ago 1 reply      
Bottom line: invest in good people, delegate responsibility to them, encourage experimentation, and focus on long-term. Facebook wasn't the first to try this model. They are one of its recent success stories, though. Most companies' IT departments won't have similar success due to control-freak management, conformance to established processes/agendas, or focus on quarterly-earnings. We'd all be better off if they switched to the model that actually produces innovation.

Even shifting a portion to it might send a hell of a shockwave through the industry.

natrius 1 hour ago 2 replies      
"Our job is not to just build Facebook, our job is to make the world more open and connectedand we in Product Infrastructure are tasked with giving the whole software industry the tools to help us accomplish this mission."

If this is explicitly true, I've never heard of anything like it in a company that doesn't sell to engineering organizations, and it's pretty amazing.

vezzy-fnord 47 minutes ago 1 reply      
The importance of pushing the bar for tooling and infrastructure aside, this is still a laughably bombastic Facebook press release.
Scripting in Swift realm.io
13 points by timanglade  1 hour ago   3 comments top 2
melling 16 minutes ago 0 replies      
Earlier this year, I read a couple Swift scripting blogs and decided to create a script to generate my Go data structure for my little Swift "search engine":


Here's the script that generates the Go data structure:


Simply having a few scripts makes it easier to update my site.

Btw, here are the other blogs:




marvel_boy 47 minutes ago 1 reply      
I usually use bash or ruby to do scripting, but I think is a good idea to use the power of Swift to this task.
Real time Greek referendum results ypes.gr
16 points by tristanperry  1 hour ago   4 comments top 4
r721 0 minutes ago 0 replies      
z92 6 minutes ago 0 replies      
As of now: 61% No. 39% Yes. [ 51% vote counted ]

What's next? I have a gut felling we are seeing the beginning of the end. The situation is not comparable with Iceland, as the whole country has shutdown. No export import.

Obviously things can't run like this. It will be interesting to see how they work it out.

agumonkey 4 minutes ago 0 replies      
tristanperry 1 hour ago 0 replies      
Clicking on the little Great Britain flag on the bottom left will change the webpage to English.
Redux: Atomic Flux with Hot Reloading github.com
146 points by monort  11 hours ago   34 comments top 8
staltz 6 hours ago 2 replies      
Redux is a major improvement over Flux libraries because it removes a lot of boilerplate while not removing functionality (in fact, enabling more features). In Flux libraries, it's common for an entity to take inputs and simply produce outputs. That's not the use case for a class. It's the use case for a function, and that's why Redux removes boilerplate.

However, I think it's time we stop calling everything Flux. Just because an architecture is unidirectional doesn't mean it's Flux. Facebook described it clearly as an architecture structured with: Dispatcher, Stores, Actions, Action Creators, and Components (sometimes even with the distinction of View and Controller View). Redux is Flux-inspired, but has significant differences. Maybe we should call it just Flux-inspired architecture. The distinction is important because there are other unidirectional data flow architectures such as in Elm (https://github.com/evancz/elm-architecture-tutorial) and Cycle.js (http://cycle.js.org). We might be creating confusion when mentioning "Flux" and meaning different things.

vjeux 9 hours ago 2 replies      
Here's the video about it from React Europe: https://www.youtube.com/watch?v=xsSnOQynTHs
asabil 7 hours ago 1 reply      
This is pretty much elm (http://elm-lang.org) and elm architecture (https://github.com/evancz/elm-architecture-tutorial/
gschrader 10 hours ago 7 replies      
The hardest part of learning React is trying to figure out which incarnation of flux one should use.
danabramov 9 hours ago 4 replies      
Hey, lib author here.

Let me first explain Flux in five seconds.

Instead of mutating your models, any data mutation in your app is described as a plain object describing what happened (e.g. { type: LIKED_POST, postId: 42 }) and broadcasted globally. Models (called Stores in Flux) have no setters and change their internal state in response to specific mutation objects (called Actions).

The goal of Flux is to have single source of truth and make it easy to avoid race conditions and cascading updates. If some data is wrong, just repeat the same Actions in the same order, and you'll get the same data in Stores. Very easy to debug.

Now, for Redux.

It keeps the properties of Flux (mutations described as objects), but instead of Stores mutating internal state, it has Reducerspure functions with (state, action) => state signature. While writing Flux apps, I noticed that the _essence_ of every Store I ever wrote was a reducer function.

It turns out that using pure functions instead of event emitters has many benefits: they are composable (https://gist.github.com/gaearon/d77ca812015c0356654f), it is possible to hot reload their logic (https://camo.githubusercontent.com/5688a6141e6a86baca5d25246...).

I wrote Redux for my React Europe talk about Hot Reloading and Time Travel (https://github.com/react-europe/cfp-2015/blob/master/live-re...). It got popular before I explained _why_ I made it. In my talk I show what kind of powerful devtools it is possible to build on top of Redux. The video of my talk will be up soon, you can check when it appears here: https://www.youtube.com/channel/UCorlLn2oZfgOJ-FUcF2eZ1A?app....

Also check out my article on the subject: https://medium.com/@dan_abramov/the-evolution-of-flux-framew...

EDIT: THE VIDEO IS UP! https://www.youtube.com/watch?v=xsSnOQynTHs

amelius 7 hours ago 1 reply      
Does it cope well with large amounts of data, and streaming of data? So far, all of the frameworks I have seen break down in such cases. And it is really a pain to pull a framework out of a project because it stopped meeting performance constraints.
akst 8 hours ago 0 replies      
There needs to be more web tools with hot reloading support
anon3_ 10 hours ago 2 replies      
To begin, I'm not quite sure what flux is.

https://github.com/facebook/flux is this the flux it's for?

It seems opaque to me at this stage. It reminds me of when Google released Polymer. There was a lot of generic stuff - but no elevator pitch.

Explain to me in 30 seconds what's flux and where it sits?

Pandas Pivot Table Explained pbpython.com
58 points by diegolo  7 hours ago   11 comments top 7
stared 2 hours ago 0 replies      
This guys has a lot of nice material, presented in a clear and approachable way (this week I was teaching Python and I was linking him a lot).

For example:



hopsoft 4 hours ago 1 reply      
Here's a very similar tool in Ruby. https://github.com/hopsoft/goldmine
harryf 4 hours ago 1 reply      
Nice blog too - lots of useful articles - makes we want to spend the rest of a beautiful Sunday indoors hacking
ced 1 hour ago 0 replies      
Can anyone explain the different between pivot() and pivot_tables()?
rrggrr 2 hours ago 0 replies      
Unreal, I have been wrestling with this for weeks. Manna from heaven!
kayaker382 2 hours ago 0 replies      
Anyone hitting an error for:

table.query('Status == ["pending","won"]')

AttributeError: 'Categorical' object has no attribute 'flags'

tantalor 3 hours ago 1 reply      
Most people likely have experience with pivot tables in Excel.

Uhh, really?

SlopPy: An error-tolerant Python interpreter that facilitates sloppy programming pgbovine.net
28 points by minthd  7 hours ago   14 comments top 9
ceronman 4 minutes ago 0 replies      
This is a very interesting project. It makes Python behave a bit more like Perl. By default, Perl is very forgiving with errors. Instead of stopping everything when a non fatal error is found, Perl will try to continue and will throw a warning instead.

This behavior is very practical when writing quick scripts to automate things or process data. And this is the reason I often prefer Perl over Python for these kind of tasks.

Of course, this has a downside: when you just continue with errors, it's often hard to find the real source of them, or even notice them at all. For bigger application this might end up in weird errors in production that are hard to debug. In this case I very much prefer the behavior of vanilla Python.

minthd 2 hours ago 1 reply      
The author has another few interesting tools:

IncPy: Automatic memoization for Python: http://www.pgbovine.net/incpy.html

CDE: Automatically create portable Linux applications :http://www.pgbovine.net/cde.html

Burrito: Rethinking the Electronic Lab Notebook :http://www.pgbovine.net/burrito.html

rch 2 hours ago 0 replies      
> If you don't want to go through this hassle (compiling from source), please email me at ... and I will try my best to compile a custom version for your computer and to guide you through the setup process.

That's wild. I wonder how frequently someone tries to take him up on the offer.

reinhardt 2 hours ago 0 replies      
frugalmail 10 minutes ago 0 replies      
No thanks, I feel this(sloppy programming) is already a problem in Python. Mine and others.
readams 2 hours ago 1 reply      
I'm not really sure that I see the advantage here. Rather than understand the semantics of the N/A values and what effect this would have on your program, why not just add a try block around the inner part of your loop? It's an extra 2 lines of code, and you'll get the same sort of yolo behavior you get with the intepreter.

Perhaps this would be better represented as a simple library you can use to catch the error, log it, and then continue with your loop.

And of course, this technique totally fails if you're trying to accumulate anything as you process the data that might end up depending on these N/A values: you'll run your whole program for many hours and at the end it will print the final result: N/A

rpcope1 2 hours ago 1 reply      
I don't think we should encourage this sort of behavior; Python already has excellent exceptions and handling and this only encourages the detrimental sloppiness that one sees in JavaScript. If your program hits an unhandled exception, I'd wager 9 out of 10 times it's unexpected, and thus the only appropriate behavior is to stop, rather than to continue operating in a potentiallly totally unexpected and silently buggy (and dangerous) state. Fail hard and fail fast, while not always convenient, is far easier to debug and handle than the proposed alternative.
s_kilk 3 hours ago 1 reply      
This is a fun hack. While I can see how it would be useful to some, reading the rationale brought me out in a rash.

Still, well done to the author!

drvortex 1 hour ago 0 replies      
Right. That's all we need. More encouragement for code.
Show HN: IfLoop, a new programming style, designed for mobile phones and tablets tapirgames.com
18 points by tapirl  4 hours ago   19 comments top 8
jarcane 6 minutes ago 0 replies      
If you're interested in coding interfaces on mobile, I've yet to see an on-mobile coding app as slick as Lisping[1].

Touch C[2] on WP8 showed potential, but sadly seems to be all but abandoned.

[1] http://slidetocode.com/lisping[2] http://www.windowsphone.com/en-us/store/app/touch-c/3fb34f3f...

actsasbuffoon 42 minutes ago 1 reply      
It's an interesting idea, but it's hampered by a few things. First, you can only use variables or direct values as conditions, or as arguments to functions, etc. That's a severe restriction, and it feels time consuming to keep creating local variables to put those values into before-hand.

Speaking of which, it would be nice if you could tap on an if-expression condition, and create a new local variable from inside that screen. It would save several clicks to get to the local variables screen.

highCs 2 hours ago 1 reply      
I like it. Example of what's cool:

Syntax is just a theme

You program can look like a python program, a golang program, or any other ones. Each code line can end with ; or not, etc.

Is there program samples somewhere? Is there any lib for it?

hobarrera 46 minutes ago 1 reply      
Something that requires me to install the flash plugin on 2015?


singold 24 minutes ago 0 replies      
This is really cool!

Recently I've felt we need to advance in our programming tools, and this feels like a good step in that direction.

binarymax 2 hours ago 2 replies      
I'm confused - you say it's designed for mobile - but the link requires flash and therefore I'm unable to use it on mobile.
bonobo3000 43 minutes ago 1 reply      
This is a joke right?
antender 2 hours ago 2 replies      
This app feels quite useless, because we already have TouchDevelop from MS.
Mount St. Helens Crater Glacier continues to grow while most are shrinking seattletimes.com
5 points by cossatot  1 hour ago   discuss
What happens to my late husbands digital life now hes gone? theguardian.com
95 points by bootload  13 hours ago   48 comments top 8
DanBC 10 hours ago 3 replies      
Apple (in England) copper-bottoms laws, and require too much documentation.

When a person dies their estate goes through probabte. You get official documents as a result. That documentarion is effectively a court order - they are good enough to get banks to release funds from the dead person's account to the executor of the will.

Apple sometimes do not recognise those documents and refuse to unlock devices that used to belong to dead people, even if the device is mentioned in the dead person's will.


Here they're not asking for access to the information - they just want the device to be unlocked. Apple recognised, after publication, that they'd made an error in this case, but they maintain that a court order is required for access to iCloud accounts. But they don't recognise grants of probate as valid court orders.

batou 11 hours ago 1 reply      
I've solved this the easy way. The only "online service" I use is an IMAP box and run that using inbox zero. Everything important is archived on disk in eml files. We share all our passwords in a single keepaas database and everything we have data-wise is in a shared folder on a shared computer. Backups are all in known locations. We regularly empty our phones an cameras and transcode everything into neutral formats.

The digital life is 22Gb of photos and videos spanning 13 years so far.

So there isn't a digital life as such, just a pool of electronic memories and information which we share. I couldn't use anything deeper after watching a friend go through the painful process of losing everything tied to an ecosystem of a software vendor.

Oh and I'll only use a system that respects my control for my data. Currently this is windows 8.1 but with the introduction of 10, it appears I'm not going to have to dump that due to the incoming app ecosystem and hit Linux.

If this all looks like a lot of effort, you're only doing the work up front. Retrospectively if you don't do this, you're deferring a world of pain.

Udo 9 hours ago 3 replies      
"Facebook tends to memorialise their account freeze them so they can be viewed, but providing no access to past messages. [...] Facebook also offended a fair number of bereaved people with its Year in Review clips [...] The problem was that for some, these were pictures of dead loved ones."

Here is something I really don't understand. For some reason it's apparently preferred, both by Facebook as well as people overall, to rub out a deceased person's digital existence - as opposed to preserving a bit of their life and writing for posterity.

To me, the "memorialization" of FB accounts looks like an almost cynical choice of words considering what it actually entails. Do we really prefer to pretend dead people never existed in the first place?

bryang 9 hours ago 2 replies      
Skype is one of my most hated programs.

And a reason for that is the utter absurdity in regards to account deletion. You have to do fairly standard things like identify email, password and some contacts.... but you also have to know the EXACT month and year of which you signed up. And unless you got lucky and didn't delete your sign up email up there is no possible way to find out. When I first signed up, I had a ridiculous name like everyone else did back in the day, and I wanted to just move on. Not very serious, I know, but this issue can be for many circumstances.

I really wish that some legislation would be passed for a "Nuke" button standard on all digital platforms that allows you or a designed individual to erase profiles at will.

anon4 10 hours ago 1 reply      
The only digital life I'm worried about in the event of my untimely death is the few IRC channels I frequent. Just let those guys know I'm gone, put up a "He's dead, Jim, take what you want." on my GitHub and leave the rest to bit-rot. I don't think the cloud cares that I won't feed it data no more.
evantahler 9 hours ago 0 replies      
A shared and synced 1password vault between family members is the best option I've seen so far. You can have your vault, a work vault, a family fault, etc which is kept in sync with separate permissions.
Theodores 9 hours ago 0 replies      
Relatively speaking those parents of mine are to pop their clogs one day (well, Burkenstock sandals, one day being many years hence). I would not be happy about deleting everything on their PC's, I would want stuff kept.


With my own 'digital life' I would prefer people to just fdisk/powerwash my PC-style devices and send the things to the charity shop. There really would be nothing to see on any of my machines, the cloud can just be forgotten, nothing really matters. I don't know if others would see it that way though. My point being that 'what you would do' concerning your oh-so-precious online life is different to what you might think when it comes to someone else's digital life.

marincounty 9 hours ago 0 replies      
I didn't read the article, but I get the drift. I knew a guy was in a very unhappy marriage. He didn't have a large online presence, but his posts and pictures were important to him. You couldn't tell he was in a unhappy marriage--unless you knew him. His wife was not in any of his pictures, nor did he talk about her.

Well he died in his sleep one night. The next day, all his accounts were taken down. I don't know who removed all his accounts, but they were gone. My point is unless you have an agreement, or the surviving spouse is slandered in some way; I think, in most cases, if the surviving spouse should just use the passwords to convey the obituary notice.

(I think I was bothered with just how quick his accounts vanished? All his accounts were on free sites. I didn't see any need to close them all down. Plus, after all the verbal abuse, and drama--his only enjoyment, or escapism was going online?)

Emulating Linux MIPS in Perl Part 1: ELF loader schmorp.de
64 points by draegtun  11 hours ago   12 comments top 7
andrewchambers 9 hours ago 0 replies      
A tiny mips emulator I wrote which can boot a linux kernel:


userbinator 5 hours ago 1 reply      
The next step along this path would be to run Perl inside this VM, and then run the emulator in it...

MIPS is certainly one of the simplest instruction sets. A while ago I decided to write one too, for fun, after having done ones for a few other CPUs (Z80, 6502, 8086), and MIPS was by far the simplest, almost to the point of being boring. Getting the branch delay slots right (see http://www.pagetable.com/?p=313 for some details) was the hardest part.

joosters 8 hours ago 0 replies      
This series of posts is amazingly well-written, it explains the steps involved really well IMO, thoughtfully ordering the code snippets to make understanding each step simple.

As a perl user, I'm also highly biased as it's nice to see a perl article on HN once in a while :)

kazinator 55 minutes ago 0 replies      
Ironic; I put together a MIPS based Linux distro about eight years ago, and Perl was one of the items that wouldn't cross-compile to it.

How you get Perl on MIPS is by compiling on a MIPS machine, or in an emulated chroot environment (QEMU on x86, say). Now Perl can maybe supply that environment.

l1n 21 minutes ago 0 replies      
Speaking of MIPS, has anyone had success emulating IRIX?
chriswarbo 4 hours ago 0 replies      
I came across the phrase "XY problem" the other day http://www.perlmonks.org/?node=XY+Problem

> You want to do X, and you think Y is the best way of doing so. Instead of asking about X, you ask about Y.

If we allow "ask" to include asking oneself, then this seems like a great example :)

TickleSteve 9 hours ago 4 replies      
Am I reading this correctly??

Emulating a whole processor to run a shell script on Windows.... Seriously??

Strikes me that someone didn't research the options correctly or just wants an excuse to play...

Bug Prediction at Google (2011) google-engtools.blogspot.com
10 points by vmorgulis  4 hours ago   5 comments top 2
amelius 48 minutes ago 1 reply      
> In fact, as previously noted, 50% of the Google code base changes every month.

Is this because 50% of the code base is new projects? Is Google growing exponentially that fast?

harryjo 1 hour ago 2 replies      
This was abandoned by Google shortly after launch.

Several previous discussions:https://hn.algolia.com/?query=bug-prediction-at-google.html&...

Retroshare Secure communication for everyone sourceforge.net
27 points by fosap  7 hours ago   12 comments top 4
nickpsecurity 1 hour ago 0 replies      
I haven't done a thorough review of it by stand by my at-a-glance review from 2014 on Schneier's blog:

"And it's written in a risky language using shoddy libraries on platforms NSA etc. have 0-days and automated attack systems for. I'm sure that this combination will be "really hard" for NSA to penetrate. ;)"

Goes for any strong attackers. Yet, with better interface and more security review, an app like it might protect from the lesser attackers or snoops that are still worth stopping (see "who uses Tor?"). Moreover, might be a better baseline than existing apps providing similar functionality. The main thing that will continually kill this app's security, also similar ones, is it's so complex that describing functionality and errors states is already quite a chore. Making a security argument... more so or impossible.

The best bet is probably a system like Freenet: asynchronous, low response time requirements, and F2F. So much easier to protect such systems. Already has a lot of services built on it. The approach would be a thorough, no-hold-barred review of the protocol by pro's as we've seen with Tor. Whatever survives the review is implemented in a native language with strong assurance activities for implementation and interfaces, including covert channel analysis. Mutually-distrusting, geographically-diverse, and ideologically-loving-privacy types to be the early nodes in public network for bootstrapping. Might even implement it on top of Tor or I2P.

Anyway, there's not much hope for strong anonymity or security if the app is complex and uses high-risk components/platforms. Just isn't happening. Sacrifices must be made. Both software market and FOSS communities have almost all shown they're not willing to make them. So, it will remain a niche with few solutions that are any good.

explorigin 4 hours ago 1 reply      
Time for this good project to get off of sourceforge as well.
junto 4 hours ago 3 replies      
I tried this out with friends. Great idea but awful interface.
HashThis 3 hours ago 0 replies      
I agree. Please get security software off of sourceforge.
Thoreau, the First Declutterer nytimes.com
14 points by prostoalex  9 hours ago   discuss
The man who saw time stand still bbc.com
86 points by bootload  13 hours ago   30 comments top 14
tomaskazemekas 8 hours ago 2 replies      
This reminded me the description of Tibetan Buddhist teachings about the nature of the mind from the book "The Joy of Living" by Yongey Mingyur Rinpoche:

"Later, when I came to the West, I heard a number of psychologists compare the experience of 'mind' or 'self' to watching a movie. When we watch a movie, they explained, we seem to experience a continuous flow of sound and motion as individual frames pass through a projector. The experience would be drastically different, however, if we had the chance to look at the film frame by frame.

"This is exactly how my father [Tulku Urgyen Rinpoche] began to teach me to look at my mind. If I observed every thought, feeling, and sensation that passed through my mind, the illusion of a limited self would dissolve, to be replaced by a sense of awareness that is much more calm, spacious, and serene. And what I learned from other scientists was that because experience changes the neuronal structure of the brain, when we observe the mind this way, we can change the cellular gossip that perpetuates our experience of our 'self'."

vanderZwan 10 hours ago 0 replies      
I'm surprised they don't cite the research of David Eagleman. He's done very solid research to untangle the questions of subjective time perception:

http://www.newyorker.com/magazine/2011/04/25/the-possibilian posted here before I believe)

https://www.youtube.com/watch?v=MkANniH8XZE A talk by him on subjective time)

ars 46 minutes ago 0 replies      
This does not in the slightest sound like time standing still.

Instead it sounds exactly like the symptoms when the motion-detection parts of the eye are not working.

The brain does not detect visual motion, instead the eye does that. It is one of the "layers" of information sent, and this is the symptom when it doesn't work.

More info: https://en.wikipedia.org/wiki/Akinetopsia

mcguire 1 hour ago 0 replies      
"Reviewing the case studies and available scientific research on the matter, Arstila concludes that an automatic mechanism, triggered by stress hormones, might speed up the brains internal processing to help it handle the life or death situation.[1] Our thoughts and initiation of movements become faster but because we are working faster, the external world appears to slow down, he says. It is even possible that some athletes have deliberately trained themselves to create a time warp on demand[2]: surfers, for instance, can often adjust their angle in the split second it takes to launch off steep waves, as the water rises overhead."

That might possibly be true for life-or-death situations, but I believe the second statement is overreaching. I don't believe that the individuals have "trained themselves to create a time warp on demand", but rather that it is an effect of having learned the specific skills involved.

Having learned new skills several times over the years, one thing that I have constantly noticed is that, initially, things happen fast. Events appear quickly and it is not apparent what is important and what is not. On the other hand, after you have some experience and can recognize what events are important and which are about to occur, and have the skill to respond appropriately, the speed of events is no longer a problem for performance.

In fact, at some point common events cease to be consciously perceptible---the reaction to them is instinctive.

[1] http://journal.frontiersin.org/Journal/10.3389/fpsyg.2012.00...

[2] http://journal.frontiersin.org/Journal/10.3389/fpsyg.2014.00...

nickpsecurity 1 hour ago 1 reply      
A while ago, I saw a course offering to improve use of the brain. One trick it claimed to teach was meditation that taught people to control perception of time. The idea was that you could slow time down to have more reaction, training or thinking time. I wrote it off as a snake oil thing with far-fetched possibility of happing to some degree somewhere else.

Seeing these cases makes me wonder, though. Research into neuroscience or neuro-engineering might be able to tap into this effect to do things similar to other claim. My first thought as a former martial artist was combat applications. There's gotta be a DARPA lab working on this exact thing somewhere.

So, applicable questions to this are (a) does their brain just slow down where it takes time to catch up to what happened in reality; or (b) do our brains actually waste effort to preserve a specific, temporal experience. If it's (b), then there's a possibility of re-training or modifying the brain to get more usable time to think or act. I can't be sure from the article if it's (b), though. Anyone have an idea about that?

rikkus 4 hours ago 0 replies      
I used to suffer from Alice In Wonderland Syndrome [1]. The first time I noticed symptoms was when I thought my CD player was broken because it was playing music slowly.

I asked other people if it sounded slow to them and they didn't think so. There was nothing wrong with the CD player.

[1] https://en.wikipedia.org/wiki/Dysmetropsia

sethammons 5 hours ago 3 replies      
perception of time is interesting. I saw something years ago, I believe the discovery channel, where a researcher put a watch-like device on particpants wrists. its refresh rate was such that you could not see the number it displayed. when a person the was dropped from a height on a bungee, they could see the number. the explanation was the adrenaline serge causing the perception of time to become enhanced, thus the refresh rate was no longer too fast to prevent one from seeing the number. I can relate; I had a car fly in a barrel role towards my car in a near head-on collision all action-movie like. Time slowed and I could make out the driver and passenger with high clarity. their facial expressions, the passenger's 49'ers jacket and her necklass dangling in the air... it was quite the experience! (please ignore typos as my phone is not giving me spelling corrections for some reason
goblin89 1 hour ago 0 replies      
If perception of space-time emerges as simplified interface to the dynamics of interacting conscious agents[0], then such time glitches can be explained as abnormal states in the combination of conscious agents that comprise ones mind.

(Cant help trying to look at this through prism of my limited understanding of that research.)

[0] http://journal.frontiersin.org/article/10.3389/fpsyg.2014.00...

titzer 6 hours ago 2 replies      
SWIM had a very intense experience of time looping which they can't explain brought on by unfamiliarity with a certain substance...they described it as reliving the same few minutes over and over, having the same conversation over and over, and their friends repeating the same bits of dialogue at different spatial locations over a 1.5 hour period...like the _exact same_ bits of dialogue with the same hand motions, intonation, sarcasm, etc.

Could be explained by certain neurotransmitters being disrupted by a drug, replaying short term memories at different times, brain incapable of integrating time correctly.

SWIM isn't sure.

superpanic 7 hours ago 2 replies      
The example refering to rotating car wheels seeming to stand still can only be seen in "artificial" street light and not in direct sunlight. It is the lights Hz (refresh rate) that causes the illusion and not some "frame rate" in the brain.
johw 8 hours ago 0 replies      
I once experienced something similar in a beach volleyball match. We were up to a pair of much better...and much larger... players, but we were highly motivated and had a lot of fun.

Suddenly I noticed that everything slowed down A LOT and I could easily receive full blown attacks that were 3m away...not always clean though, as my body did not move fast enough.

It is very pleasing to read something about it here and remember this experience. I hope this "feature" will be researched more, so that everybody could unlock it at will.

hippo8 6 hours ago 0 replies      
Not sure if this is the same thing, Around 12 years ago I was playing on the street with my friends, and got hit by a speeding motorbike, I remember seeing the motor bike coming towards me, I remember all the details it was so slow, but I was frozen, I felt as if I had all the time in the world, and then suddenly I snapped and the bike hit me on the shoulder. Fell to the ground and luckily managed to escape with just a few scratches on my leg.

I always wondered if this memory was something the younger version of me made up in my head or if it actually happened. Never experienced it again unfortunately.

kinleyd 8 hours ago 0 replies      
The experience described in the article is, imho, quite common. The spontaneous positive ones are of the type you experience in sports, when you are in "the zone". Priceless experience. And the negative ones occur in times of danger - you want to forget these, but that's nearly impossible. Meditation gets you there as well, and with some side-effects, I'm told drugs do too. I read a hilarious account by PJ O'Rourke of how still time stood during an ill-advised drugs and dynamite experiment with some of his buddies.
virtualwhys 8 hours ago 1 reply      
Surprised the article doesn't reference the stroke of enlightenment [0].

Makes you wonder how much awakening (as described in linked video) is more accident than act of volition/determination (e.g. dedicated meditation/spiritual practice). Perhaps the latter sets the stage for the ultimate accident to occur.


Pirate Bay founders: FBI has Prenda Law under investigation arstechnica.com
57 points by batguano  13 hours ago   11 comments top 4
explorigin 4 hours ago 0 replies      
From another perspective...FBI tries to trick Neij and Sunde into identifying the new TPB admins.

FTA: Neither Neij and Sunde could help with the request, since they no longer run the site. The officers also asked about just who is running the Pirate Bay these days, so it's not clear what the real motive of the questioning was. Both men were interviewed by Swedish police, but the Swedish officers said they were "sent on behalf of the FBI."

jimrandomh 3 hours ago 1 reply      
This is a good step towards restoring faith in the US court system. There have been a significant number of high profile, large scale abuses of civil litigation lately. I'd started to think of the US courts as participants in a protection racket. Knocking down the lawyers behind a few of those is a significant positive step.
jacquesm 9 hours ago 2 replies      
That's so strange. Didn't they claim during their trial that they had handed off TPB to other parties? I'm also quite surprised that they would keep logs that would allow the FBI agents to determine who was the uploader of a certain torrent.
PhantomGremlin 9 hours ago 2 replies      
The really amusing part of this story is Prenda Law.[1]

This was set up by a couple of lawyers as a copyright troll. However, those two lawyers were dumber than Beavis and Butt-head. They filed thousands of lawsuits, hoping for quick settlements. Instead, they were sanctioned by multiple Federal and State courts. With any luck they might actually wind up in Federal prison.

Ars links to numerous articles about them. The Wiki link also has lots of amusing information. So if you think popcorn tastes good, make yourself some and settle in for some very entertaining reading.

[1] https://en.wikipedia.org/wiki/Prenda_Law

Interrupts and Interrupt Handling in the Linux Kernel, Part 6 github.com
8 points by 0xAX  4 hours ago   discuss
Ask HN: Any C programming Postgres wizards willing to port 460 lines of code?
100 points by andrewstuart  5 hours ago   75 comments top 14
mhodgson 2 hours ago 3 replies      
Lucky for you I actually did exactly this over a year ago. We're not using it anymore so I'll just open source it for you: https://gist.github.com/mhodgson/d29bbd35e1a8db5e0800

Please note that I also don't know much C, but this implementation does work. Also included is a Postgres version of the Ref DB backend (so nothing hits the filesystem). There are a few bits that are not implemented since we didn't have use for the reflog and those parts are technically optional.

Would probably be good to get another set of eyes on this from someone much more familiar with C.

Hope this helps!

adwmayer 4 hours ago 1 reply      
Have you tried https://github.com/davidbalbert/libgit2-postgresql? I know nothing about libgit2, but came across this repo while looking it up. If it's got some issues it's a great place to start from, since it also gives you somebody who could code review and you don't need to start completely from scratch.
csomar 3 hours ago 0 replies      
I have no problem with such requests, and I think there should be more. But there is one issue with that. What's your motive?

Are you looking for this to complete a $xxK client project? Or are you looking for this to help students understand a C implementation?

It makes a world of difference. If you are getting paid for the result, then you should share with the developer. If you are not, and doing this for the greater good, then it's fine.

We should really define the line here. There is enough exploitation in the dev world and the last thing we want is developers exploiting other developers.

mrkmcknz 4 hours ago 0 replies      
I wish there were more Ask HN posts like this.

It's also a great chance for someone who perhaps is looking for a gig to put some code up here that quite a few people will review.

lfowles 4 hours ago 3 replies      
If it's so short, why not give it a shot and put it up for code review so others can catch the nasty and insecure bits? Great learning experience :
_cbdev 2 hours ago 0 replies      
I decided to do it just for the fun of it.


Caveat Emptor: I did not test this since somehow the Debian package of libgit2-dev seems not to include the GIT_* constants. It should probably work, though.

userbinator 4 hours ago 0 replies      
It probably isn't the most efficient way, but were an ODBC backend written for it, libgit2 would be able to use any database that has an ODBC driver - which AFAIK is almost all SQL-based ones.
richardwooding 4 hours ago 0 replies      
Wow! My C knowledge is dated, but my Postgresql knowledge is good. Would be fun to attempt if I had time.
andrewstuart 2 hours ago 0 replies      
Performance is an interesting question, I wonder how a Postgres backend would compare to serving git from file system.
kungfooman 4 hours ago 0 replies      
Didn't know that libgit2 has a MySQL backend, thanks. :D
CyberDildonics 4 hours ago 0 replies      
Is there a reason it couldn't be done with C++11/14 with an extern interface to C?

Here is a lib to match python's string functions in C++.


When working with string and vectors C++11 can actually be pretty straight forward, productive, and clear with no manual memory management. It definitely doesn't have as many string functions out of the box as modern scripting languages though.

ed_blackburn 1 hour ago 1 reply      
As an aside is their any crossover or anticapted convergence between libgit2 and git?
synthmeat 4 hours ago 6 replies      
You know what?

I propose we use "Task HN:" and do these requests more frequently. We'll surely learn a lot, come to ingenious solutions, and maybe, just maybe, make our time on HN more productive. I, for one, want to at least see, if not help, what small but interesting byte-size hurdles others encounter and how others can solve it in different ways, and all the discussion around it.

Working on something together binds communities even tighter.

ugexe 3 hours ago 2 replies      
It's sort of telling that you refuse to put any effort into showing anyone you can at least put together a crappy implementation to demonstrate understanding and contribute back to the same knowledge space (beginner knowledge is knowledge) you wish to extract from.

The demand for the highest quality code for what is essentially begging is also not becoming. Even contributing a terrible implementation would tickle people's motivation button (so they can teach someone without building your entire project, show they are measurable better than someone, etc)

"Beggars can't be choosers"

Toys from Trash arvindguptatoys.com
51 points by DanBC  20 hours ago   6 comments top 4
zaf 2 hours ago 0 replies      
Great resource.

Discovered the site several years and helped in creating an offline version (only iOS) with all the content (as of 2012):


cconcepts 1 hour ago 0 replies      
Wow, this is really cool. I feel the quote on the front page is apt for a lot of us here at HN:

"And somewhere there are engineers helping others fly faster than sound.But, where are the engineers helping those who must live on the ground?"

We live in a world where return on capital and/or time invested is the common measure of success, but someone like this is having untold impact on many people's lives simply by applying their brilliant mind in a less commercially incentivised way.

DanBC 6 hours ago 1 reply      
I particularly like:

CD spectrascope: http://arvindguptatoys.com/toys/cdspectroscope.html

Using polarised light to see stress in plastic: http://arvindguptatoys.com/toys/seestress.html

harryjo 1 hour ago 1 reply      
These are great.

Always funny what these "make toys at home" folks think people have lying around their homes:http://arvindguptatoys.com/toys/Heartpuzzle.html

Rider in the sky stars in first cloud movie newscientist.com
6 points by chippy  4 hours ago   discuss
Chaos Communication Camp 2015 Preorder ccc.de
46 points by Sami_Lehtinen  5 hours ago   4 comments top 3
pepijndevos 3 hours ago 1 reply      
I went to their yearly indoor conference and to a similar Dutch camp, it's always very fun.

Compared to say FOSSDEM, the topics are more political and there are also talks about art and culture. But the best part of it is not the talks, but the super friendly, crazy, diverse people who organise all sorts of crazy things all over the place.

Where at FOSSDEM you'd find people wearing Tux shirts talking about code and drinking beer, at CCC you'll find people with bright blue hair making mate slush and Arduino knitting robots.

Almost all the talks are in English and it's very international, but there are some things that completely pass you by as a foreigner. It was only because my German friends told me that I attended some impromptu sexism discussion because something happened somewhere, and everyone speaking German was really upset.

r0naa 3 hours ago 0 replies      
I went to the CCCamp 2011, it was hands down one of the best experience of my life.

The Camp take place on a former soviet military base and attracts technologists, hackers and engineers from around the world. It has a very strong hippie culture, but there is a mix of everyone and the atmosphere is great really.

Most talks are engineering, art or sociology related with a emphasis on security and privacy in the 21st century. I learned a ton, it was a very intellectually gratifying experience.

At night the camp becomes a very special place: https://upload.wikimedia.org/wikipedia/commons/b/bc/CCCamp11...with some crazy and magical light and music shows.

A truly amazing event.

albertzeyer 3 hours ago 0 replies      
I can really recommend to go to this event. It covers a wide area of topics, not just technical but also art, politics, etc. And it's all very much fun. There are many interesting people there who all want to show their projects and just want to chat. It's also very international.

Some more info:



Jshell: The Java Shell (REPL) java.net
68 points by Garbage  11 hours ago   54 comments top 12
arturventura 5 hours ago 2 replies      
I had to implement a Java REPL like this one in school.

My experience of using it is that tells me that without a undefined type keyword it becomes very boring to use. Each time you have to define a variable you have to write all type info:

 Map<String,String> foo = new HashMap<>();
If java had a inferred type declaration, like Golang, Swift, Scala, etc. This would be much simpler:

 var foo = new HashMap<String,String>();
But from what I think there is nothing like that on Java's roadmap. In fact, I think it was proposed and rejected in the past.

elmarschraml 6 hours ago 3 replies      
If you're looking for a REPL for Java, try the Groovy shell (comes standard with an install of Groovy).

Meant, as the name implies, for Groovy, but since Java is a subset of Groovy, works fine for any Java code, too.

It's great for quickly trying out an API or library. Also makes it easy to just drop a bunch of jar files onto the classpath.

jetpm 3 hours ago 1 reply      
I developed something similiar but for the Android API, it goes together with an app, but it is also a Java Read-Eval-Print Loop where the code is executed on the device. It's in beta phase.https://runondroid.com
russtrotter 5 hours ago 1 reply      
I'd add my vote for using Groovy's shell (groovysh) for Java REPL. The shortcuts and conveniences the Groovy lang provides make it perfect for this kind of application.
suprgeek 2 hours ago 0 replies      
For those of you in the Bay Area, there is a Hackathon (SVJUG Meetup) at Google on July 11th that is expressly dedicated to JShell - http://www.meetup.com/sv-jug/events/223263007/

Drop by, check it out & please stop the Snarky "Should have had it 10 yrs ago" comments.

drtse4 9 hours ago 1 reply      
If someone is interested in using something like that (minus the API part), right now, try this: https://github.com/albertlatacz/java-repl
arikrak 4 hours ago 1 reply      
BlueJ [1] is geared at beginners, but it includes a codepad for trying out Java code and also provides a way to interact with objects.

[1] http://www.bluej.org/

github-cat 9 hours ago 1 reply      
So each programming language are becoming more and more alike. Many of them are not pure OOP or pure functional language anymore.
Elrac 9 hours ago 2 replies      
Much of the description of Jshell is in the future tense. Can someone give us an idea of the state of progress?
spacemanmatt 8 hours ago 1 reply      
Too late. Learned Clojure.
anon3_ 10 hours ago 7 replies      
This is big news. Java should have had this one from the start.

My question is, what took so long? What prevented it?

theknarf 1 hour ago 0 replies      
I read JS-Hell. Not the best name for a shell.
Git-meld-index: Run meld or any Git difftool to interactively stage changes github.com
21 points by davvid  12 hours ago   13 comments top 6
sapek 3 hours ago 0 replies      
Vim plugin Fugitive [1] effectively allows editing files in index.

[1] http://vimcasts.org/episodes/fugitive-vim-working-with-the-g...

codemac 43 minutes ago 0 replies      
If you use emacs - make sure you're using magit!
wazari972 8 hours ago 3 replies      
That looks great, I'll give it a try at work!

Basically, if I understand well, it's a GUI over `git add -p`. Instead of the CLI short diff, you get a `meld` instance that computes the diff between two (virtual) directories, one with the modified files of your git, one with the current index. And like `git -p`, you select what you want to add to the index.

That seems great to have a global vision of modifications, and to be able to navigate between the differents files to remember exactly what belongs to the commit!

I had such a tool in mind since I discovered `git add -p`, thanks for working on it!

fmela 2 hours ago 0 replies      
SourceTree also has this functionality.
pencilcode 5 hours ago 0 replies      
tig can also be used to stage changes.
CuriousSkeptic 7 hours ago 2 replies      
Why not just use 'git gui'?
       cached 5 July 2015 19:02:02 GMT