A simplified universal parsing format (AST) that equally describes all languages. It needs to allow seamless switching between different languages in the same file and also allow recursively nesting of different languages within each other without resulting in a deviating from the simplified parse format. The solution is written and it appears correct and viable. As in all things related to parsers the devil's in the…
Does this handle languages like Icon or Unicon in which the concept of "failure is always an option"?
Ask HN: What's the hardest problem you've ever solved?
251–260 of 441 posts
Re: Ask HN: What's the hardest problem you've ever solved?
#252I somehow decided I needed to cheat to pass a certain exam because I was basically crap at memorizing stuff. So I used an analogue wireless headphone, an induction loop around my neck and a mobile phone. Since I lacked an accomplice to dictate, I read aloud the hundreds of pages and recorded myself, careful to preserve and properly serialize things like complex formulas. This was before the era of iPods and SDCard pl…
A surprising number of the replies to your comment also seem to think cheating like that at university is perfectly fine.
Re: Ask HN: What's the hardest problem you've ever solved?
#253I somehow decided I needed to cheat to pass a certain exam because I was basically crap at memorizing stuff. So I used an analogue wireless headphone, an induction loop around my neck and a mobile phone. Since I lacked an accomplice to dictate, I read aloud the hundreds of pages and recorded myself, careful to preserve and properly serialize things like complex formulas. This was before the era of iPods and SDCard pl…
That's quite impressive setup. I've used programmable calculator with text storage capability for my chemistry exam. I was correct that I will not need chemistry knowledge in all my life.
Re: Ask HN: What's the hardest problem you've ever solved?
#254Earlier quoted context omitted.
There's more to learning than memorization.
There's more to exams than memorization too, and cheating because you don't like memorization is childish. If the exams really test only memorization, drop the class.
Edit: that being said, in a system where there is such a thing as non-compulsory courses, and the critical path to graduation is sane, cheating on an exam on the critical path should definitely not be acceptable, even if it's "only" memorization. Some things really do need to be memorized.
Re: Ask HN: What's the hardest problem you've ever solved?
#255Earlier quoted context omitted.
How did you approach this problem and solve it?
Not OP, but it seems like Electrum maps the wallet seed to standard English words. The other thing that helps is that the redaction isn't complete. So what I would do is: 1. Estimate the possible locations of spaces (e.g., using OpenCV). 2. "Guess" certain letters based on what is visible above and below the black bar; these are your constraints. 3. Look up dictionary words that meet the constraints found in (2). 4.…
Re: Ask HN: What's the hardest problem you've ever solved?
#256I somehow decided I needed to cheat to pass a certain exam because I was basically crap at memorizing stuff. So I used an analogue wireless headphone, an induction loop around my neck and a mobile phone. Since I lacked an accomplice to dictate, I read aloud the hundreds of pages and recorded myself, careful to preserve and properly serialize things like complex formulas. This was before the era of iPods and SDCard pl…
You rejected ethical behaviour 'on principle', you even seem proud of that. Have you kept doing that in life? Do you feel like an impostor, presumably with your degree that you didn't think you could acquire without cheating, or couldn't be bothered? A surprising number of the replies to your comment also seem to think cheating like that at university is perfectly fine.
You can get off your high horse about not being able to acquire your degree without cheating, too. I never once cheated at any point in college, but if I had spent more time working on sick electronics projects and less time memorizing the years of significant 15th century battles, I'd be more qualified technically, not less. The ethics of it are problematic as I've said, but you seem to be going farther and implying something about his ability as well.
Re: Ask HN: What's the hardest problem you've ever solved?
#257When I was a CS prof, many, many years ago, our undergraduate lab had Macs with floppy disks. I asked the University to pay for installing 10MB Hard Drives in the Macs. I was asked to present my case to the deans council. At the meeting, I said that the students used the floppy to load their development environment. I said that, with a hard drive, it took 10 secs to load and be ready. With the floppy, I said it took…
Curious what you do now.
Re: Ask HN: What's the hardest problem you've ever solved?
#258Earlier quoted context omitted.
> Admitting to significant ... fraud during a job interview is a very, very bad idea. After serving his time, that's exactly how Frank Abagnale got a job in the FBI. https://en.wikipedia.org/wiki/Frank_Abagnale
Well, you need criminals to outsmart criminals. I'm not sure why you need that trait in software. You're (usually) not trying to beat other programmers. So I suppose the parent comment should have added "except in adversarial situations". Which means it does apply to cyber security. You need hackers to outsmart hackers. If that's the kind of industry you're applying for, it probably is a good idea to mention this act…
Re: Ask HN: What's the hardest problem you've ever solved?
#259I somehow decided I needed to cheat to pass a certain exam because I was basically crap at memorizing stuff. So I used an analogue wireless headphone, an induction loop around my neck and a mobile phone. Since I lacked an accomplice to dictate, I read aloud the hundreds of pages and recorded myself, careful to preserve and properly serialize things like complex formulas. This was before the era of iPods and SDCard pl…
You rejected ethical behaviour 'on principle', you even seem proud of that. Have you kept doing that in life? Do you feel like an impostor, presumably with your degree that you didn't think you could acquire without cheating, or couldn't be bothered? A surprising number of the replies to your comment also seem to think cheating like that at university is perfectly fine.
Now since we need a little order for various secondary reasons, we promoted exam cheating to illegal and that's ok. We need order. But there is nothing someone should feel guilt for imho, assuming the person knows she may be harming herself.
Re: Ask HN: What's the hardest problem you've ever solved?
#260When I was a CS prof, many, many years ago, our undergraduate lab had Macs with floppy disks. I asked the University to pay for installing 10MB Hard Drives in the Macs. I was asked to present my case to the deans council. At the meeting, I said that the students used the floppy to load their development environment. I said that, with a hard drive, it took 10 secs to load and be ready. With the floppy, I said it took…
This is the best thing I have ever read on HN