Better HN
topnewbestaskshowjobs
Log inSign up

estrabd

41 karma · joined Nov 30, 2009 (16y ago) · 62 submissions

Submissions

comment 9y ago · link · parent

I just want something that'll collapse 2 columns into 1.

comment 9y ago · link · parent

Perl, sh, awk, sed, C, Fortran. There's a freedom in not chasing down all the shiny new things.

comment 9y ago · link · parent

It is frighteningly effective.

comment 9y ago · link · parent

> If an organization is in a position to confiscate the camera from a journalist, they're almost certainly ALSO in a position to extract the encryption password from the journalist.

This is basically why GBDE exists.

See s.s. 4.1 "Protecting the user" of http://phk.freebsd.dk/pubs/bsdcon-03.gbde.paper.pdf

The drawback is that GBDE is for cold storage protection (which I imagine could be okay in a camera).

comment 9y ago · link · parent

Always a good cautionary tail.

comment 9y ago · link · parent

Whoa, those images kind of weirded me out.

comment 9y ago · link · parent

"Alert, alert you are too poor to be in here."

comment 9y ago · link · parent

What Would Glenda Do?

comment 10y ago · link · parent

You had me until I had to use pedo twitter or Fakebook. No thanks.

comment 10y ago · link · parent

Regardless of who you think was behind the leaks, what makes you think that the blockchain and crypto-currencies in general are not compromised somehow? Based on the BTC mania of 2014, I am not entirely convinced it's not all part of some sort of globalist psy-op. It easily fits into the narrative.

comment 10y ago · link · parent

I have had a situation where I had what was I thought deja vu, only to realize that I accurately "knew" what was about to transpire for at least 1 minute after. I've had regular deja vu before, and this was not it. I was interacting with another individual, so I don't think I was having a weird seizure or was mentally detached in any way. It was not a lucid dream either.

comment 10y ago · link · parent

1. sell house

2. buy van

3. get someone to customize your van

4. ???

5. profit

comment 10y ago · link · parent

I once went fastmail -> gmail. It's been a while, thinking about going back tbh.

comment 10y ago · link · parent

I find that eBay's bread and butter is really small fry to small fry - or at best, dealers in collectibles to collectors.

comment 10y ago · link · parent

TIL what language Stack Overflow is written in.

comment 10y ago · link · parent

I heard a similar story about Polaroid having their own digital camera. Not sure about the details.

comment 10y ago · link · parent

You can use prove for anything that outputs TAP, not just Perl scripts.

comment 10y ago · link · parent

Why one would like to have an atomic operation is easier to understand.

For example, one can use the atomic nature of creating a symbolic link on nix to create a lock file to prevent a race condition in a forking shell script. Say you have two or more processes wanting to do something that can (or should) only be done by one process at a time; one naive solution is to manage access of each process to said action by using a lock file. However, writing or touching a file itself is not atomic.

The answer is to throw a symbolic link into the mix. In this scenario, the lock file already exists. However, the lock is not the file itself, but a symbolic link to the file. The protocol for each process to follow is:

1. try to create a symbolic link to lock file (any file really)

2. if successful, proceed; if failed, wait (or exit)

3. when process is done, delete symbolic link to lock file

Simply checking for the existence of the symlink is not sufficient since there is a period of time between checking for the symlink (or file) and proceeding with said action where another process can think it has the lock.

The OS ensures that one and only one symlink (of the same name) can exist; attempts to create it again (even simultaneously) will result in a failure of one process to create the symlink. There is one winner; all others are losers. This is to say, the kernel ensures that the operation is atomic. As a result, the OS is now arbitrating what process can proceed to action, at the very lowest level. Another way to think about it is that it provides a way to make competing processes serialize - or get in line so that they may complete their action one at a time.

In my experience, it is important to experiment and test to make sure that the atomic primitive you're using is actually working as expected. I've run up against some inconsistent implementations of symlink creation that make this action not as straightforward to use as one is lead to believe.

comment 10y ago · link · parent

Always a nice reminder.

comment 10y ago · link · parent

ZFS doesn't have history in that way; snapshots are far too coarse. HAMMER, for example, is closer to what you want if you're going to replace git with a FS.

https://www.dragonflybsd.org/hammer/

comment 10y ago · link · parent

Any idea about what the political ideologies of the full 100% looks like? It's bound to be vastly different that the low percentage that turns out.

comment 10y ago · link · parent

Interesting comment; I believe if you are going to implicate Cold Fusion, you also need to rope in PHP.

My first exposure to web programming was HTMLScript at my university in the mid 90s (now called MivaScript and is the language used to build the MivaMerchant product). Soon after, I switched to PHP 3, but I found that I preferred Miva.

I have not touched Miva in years after spending some time as a freelancer in the late 90s, but because it is tied to a successful niche e-commerce platform, the language survives. It is very similar to Cold Fusion minus the enterprise level database support.

I worked with CF for a time in the late 90s/00s (when it was still a product of Allaire) along side of ASP (pre .net), and I actually preferred it to both ASP and PHP - mainly because the mixing of mark up and DSL blocks seemed really unscalable.

PHP may have been seen as an evolution in web programming since it abstracted the mixing of logic and presentation a bit more than Miva or CF, but in retrospect I believe PHP was not an improvement. It made general web programming easier, but software maintenance is easier in languages like CF and Miva that embrace embedded mark up/logic.

The frameworks provided by Ruby, Python, Perl, and even TCL (among others) seem to have reached a point where only blurring the lines between client and server seem like the only logical paradigm change - and that's not to say it's an improvement.

comment 10y ago · link · parent

I agree. I am not claiming my kids are geniuses. They are smarter than me I feel, but that's not saying much. :)

comment 10y ago · link · parent

I do think they accepted it in a dogmatic way. Incidentally, I am raising our children Catholic so it's an idea that fits pretty well with the idea of God, the Holy Trinity, and all that. Three in One, yet one is the Father and the other is the Son? Yes, dear. Oh, ok. <grin>

comment 10y ago · link · parent

Maybe, but it's interesting because I had quite a few discussions with my kids about infinity. It came up when playing the "how much do I love you" game. I introduced infinity, and from there I was able to teach them a little about it. They were very young and I am still impressed with how easily they grasped some of the concepts.

26.

Web Developer Tools(browserling.com ↗)

2 points · by estrabd · 10y ago · discuss

123