HNHacker News
TopNewBestAskShowJobs

peterbotond

601 karma · joined August 19, 2010

submissionscomments
peterbotond··on Choosing a Programming Language for Interviews
If I had this option during an interview, opt not a language, rather the idea to solve a problem described in Abstract Syntax Tree. This usually ends up in a pseudo code with parens.
peterbotond··on Why use Clojure?
Let me recommend DrRacket, it is an excellent IDE, and has great built-in documentation to explain what you can do. http://racket-lang.org/
peterbotond··on Go 1.3+ Compiler Overhaul
http://golang.org/pkg/go/ast/

this is a pretty powerful package.

peterbotond··on Infinite Grid of Resistors
i had it as a homework in physics. and another similar of a cube with capacitors at each edge.
peterbotond··on Show HN: Easy-to-configure Web Server in Go
authbind seems to defeat the purpose of privileged and non-privileged users to bind.
peterbotond··on A 6502 emulator in Common Lisp [pdf]
My old vic-20 had a 6502, and c-64 had a 6510. 6510 was backwards compatible with 6502. the most obvious diffrence was the 6510 had more instructions. has any of you had a c-64 with a 6502?
peterbotond··on Qt 5.1 Released With Android and iOS Technology Previews
the QT team in the past constantly improves their codebase, so i believe the numbers will be better. i use qt since 3.1 and see the improvements in general.
peterbotond··on Poll: What do you use for deploying code?
fossil scm
peterbotond··on Always Be Coding – How to Land an Engineering Job
quicksort, shellsort, then implement it for parametric type.
peterbotond··on Why Lua?
not often mentioned: tcl's slave interpreter, and command redirections from a slave interpreter to its master. a master interpreter can hold many slaves interps, and any slave can be a safe interpreter not execing anything that might be dangerous. redirecting, by renaming, a slave/safe interps commands the master will know. tcl's threading model (if needed): sending messages, one thread per interpreter, and one thread can have multiple interpreters. tcl-8.6 has a killer object model. tcl's vfs, and starkit/metakit makes distribution simpler.

what i do not use tcl for is: web. unfortunate lack of a framework.

it has good support for downloading stuff, ftp, http, bignums and algorithms if needed.

peterbotond··on Hacked Texan Water Infrastructure Had a 3 Character Password
many many years ago, when modems were king, there was a breach similar to the 3 character password, UCB... well, the rest is history. I dont remember the details precisely, probably still can be found on some news or mailing list archives.
peterbotond··on Why Arabic is Terrific
the referenced wiki article also mentions another point of view. the referenced article also does not mention the significant number of hungarian speakers in Canada.

i will not comment any further on this thread. my view is based on extensive research of turkish, finnish, hungarian, english, german, spanish, and russian grammers.

peterbotond··on Why Arabic is Terrific
as a native hungarian speaker, let me wish you fun and many discoveries while learning this enormous grammer.

hungarian is not related to finnish, rather to turkic languages. i am a native hungarian speaker, and i know hungarian grammar is logically closer to turkish than to finnish. the story how they became related is purely political, and references easily found on this subject and i do not intend to get into. in hungarian literature class we studied finnish words that were similar, grammer, and a few poems.

peterbotond··on Secure your browsing using a home VPN
the simplest and pretty easy to do is ssh tunnel to the trusty home machine running vncserver, and then vncviewer into it via the tunnel. vpn is too heavy for home. and the home machine does not even need to run a full blown xserver, i.e. no video card needed.
peterbotond··on Editing with Tor
http://www.iq.harvard.edu/blog/sss/archives/2011/07/detectin...
peterbotond··on US looking for revolutionary binary code system
and there are many other companies to benefit from this. reminds me a bit when i needed to reverse engineer a sourceless binary and write a wrapper to its important parts.

yes, the article title is bad.

peterbotond··on Economist's View: "The Mathematics Generation Gap"
what i gained from learnign math using trig and log tables, pencil and paper to calculate fractions, multiplying them, more numbers, more calculations, => feel for a solution. yes, it is subjective, by looking at a problem there are no magic that pops out, just a feel for what would be a correct answer. objectively, the experience how to simplify is a great gain as well. ... then i studied logics. today i can calcualte areas, circumferences in my head, faster then using my phones calculator. the precesion is acceptable for my daily use.
peterbotond··on Peititon for Wikpedia to become first digital World Heritage Site
thanks. next time it will be more interesting.
peterbotond··on The pitfalls of jargon and the damage it does to mathematics
i wrote a few 'transl(iter)ation' from math/physics papers to be understandable by a CS degree, and yes, the jargon is in the way for a CS student. The biggest leap is to associate a greek letter with a definition. a CS student, in my experience, wants the letter (short variable name) to be a meaningful word (longer descriptive variable names). i am not a mathematician. physicists, in my experience, had no problem though.
peterbotond··on Peititon for Wikpedia to become first digital World Heritage Site
wikipedia World Heritage? i believe not. 1. it is heavily biased. 2. censored. 3. not always as acurate as it could be. (down vote me, it will still not change the fact that for example what is deleted is someones priority, not necessary in accordance with academia.)
peterbotond··on Parsing and formatting date/time in Go
it is simpler to remeber that those formatting characters.

Let's not forget: go has a very simple way to implement your way of doing things from any pkg, struct. just implement a func (p *SomeNewCoolTimeDate) Format( layout String) as you see fit.

peterbotond··on Secure your Linux server - HowTo by the NSA
Interesting, FreeBSD/PcBSD is not on the list. is it due to lesser popularity?
peterbotond··on Resign Patterns - a humorous take on design patterns
this should be a reference used when writing commit bits. e.g.: fixed a bug caused by the Fromage pattern by applying the Brig pattern.:-)
peterbotond··on The art of endless upgrading
yes, real life pain is the first step of your immune system. The warnings in your log should be the software equivalent. Attending either or both requires human maintanance. Training the body is equivalent of testing software. Yes, there is something to learn from this articel.:-)
peterbotond··on Maze62: a dense and speedy alphanumeric encoding for binary data
recently, i needed to encode/decode similar data, and base64 with a variable 64 chars seemed to work just as good. say, - or / are problem chars, then make another set of 64 chars which would have a comma and a dot or alike and there you go. keep the sets in a table or somehting and use the first 2 chars as indicator which set of 64 to use for that data.
peterbotond··on What Every C Programmer Should Know About Undefined Behavior #2/3
yes, random bits flipped on good input. yes, i run anything that can help me and covers the problem. nowadays, 32 and 64 bit are what i write code for. oh, the days of 16bit ints on win3.11 for workgroups are gone. :-)

llvm is an excellent tool, hats off, and thanks.

peterbotond··on What Every C Programmer Should Know About Undefined Behavior #2/3
the way to write good solid code is to use more than 2 compiler, and optimisation etc. i mostly write code that runs on at least 3 different os, and 2 different hardware. ... and it just works. no prog-lang can be faulted for bad programming using one. learn the lang, and use it. :-)

gcc still gets the pointer dereference and assignment to what a pointer points to, due to deferring assignments. these edges, idioms of any lang needs to be looked at with academic eyes. :-)

peterbotond··on Why C++ is vastly superior to C
that's exactly right and correct. any language can be screwed up without descipline, and understanding of the solution trying to be implemented. me for example, put comments in code that what direction of design, execution path is taken to correct less efficient idioms. so, at a later time, new code can be added with some direction. this prevents the urge to copy and paste by the new guy.

coding guidelines are also to include programming idioms, primitives, to use and build the solution around it.

for c++, c and others i wrote many of guidelines, and seeing the benefit later i can say the above.

peterbotond··on The Don Stewart Method: write code every day, release a project every week
my way: write code everyday, and write at least one test case every week, and release as needed.

release every week, problem: users are unable to learn and adjust, specially humans, and of course the others' codes.

peterbotond··on Libev and libevent
in my experience a lean mean libevent api is the winner. once i need dns or http for size or speed there are more choices than to bog down the event handler. Yes, I understand the benefit of having dns/http/and who knows what in the event handler. once a program needs event handling for multi platform simplicity still the best way to go. i stopped using libevent since the dns/http stuff was added. and in some cases i had to write event handlers from scratch for different oses to have uniformly good acceptable performance.
← PreviousPage 2 of 4Next →