Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kree10
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
kree10
15y ago
Interesting. I did a few tests and it seems Chrome will let me override window.location with __defineSetter__() but not document.location, while Safari was the other way around. Firefox 3.x won't let me redefine either one ("TypeError: rede
32.
▲
by
kree10
15y ago
Interesting - I see we both have projects on github called "vagrant-base"! On mine ( https://github.com/drench/vagrant-base ) each branch sets up a different environment (Drupal, node.js, generic "LAMP", etc.). They currently all use shell
33.
▲
by
kree10
15y ago
Several years back I was on a job where the boss wanted to allow virtually any user-provided HTML/CSS/JS in a content area, while preventing redirects. No implementation ever happened of course, but my first thought was, what would happen i
34.
▲
by
kree10
15y ago
I don't know what qaexl's using but I'm going to guess VirtualBox with http://vagrantup.com/ - it's a setup that's worked well for me. Activity Monitor tells me my single VM running in the background is taking up less CPU time than Skype
35.
▲
by
kree10
15y ago
There's a long history (going back to at least "Rock Around the Clock") of single B-sides becoming unexpected hits. Searching for the phrase "started playing the B-side" brings up several examples: http://duckduckgo.com/?q=%22started+playi
36.
▲
by
kree10
15y ago
Looks like http://www.liquidmarkup.org/
37.
▲
by
kree10
15y ago
Nondescript names are de rigueur for JavaScript-related projects. See also: prototype, node, underscore, backbone, processing, reflection, glow...
38.
▲
by
kree10
15y ago
lftp is cool, though I wish FTP would die (as telnet sensibly did over a decade ago) so I will no longer need it.
39.
▲
by
kree10
15y ago
"Mail servers do not require you to send emails to recipient@mail.domain.com. Likewise, web servers should allow access to their pages though the main domain unless a particular subdomain is required." Sure, email is like this thanks to M
40.
▲
by
kree10
15y ago
http://www.block-disposable-email.com/response_codes.php says: "MX does not exist": The corresponding domain does not have a mailexchanger (MX-DNS RR). Domains without a MX are not able to receive emails. No! Lack of an MX does NOT mean
41.
▲
by
kree10
16y ago
It's funny how many JS-related projects choose nondescript names like this. Off the top of my head: "processing", "underscore", "node", "backbone", "mylibrary", and (maybe the one that started it all) "prototype". I caught myself doing it a
42.
▲
by
kree10
16y ago
Seeing #!/bin/bash is one of my pet peeves. If it's a straight shell script, use "#!/bin/sh" please. If the script actually requires bash features, I'd appreciate "#!/usr/bin/env bash" because if I choose to install bash, it probably won't
43.
▲
by
kree10
16y ago
See this comment by johnswamps from last year http://news.ycombinator.com/item?id=1535673 for a bookmarklet that does location-bar-marquee.
44.
▲
by
kree10
16y ago
The script was: sleep 1 minute, then restore rules, sleep 1 more minute, then reboot. That first rule restore was so I could conceivably get things back in order before the reboot. I had the final reboot there in case the new firewall rules
45.
▲
by
kree10
16y ago
I always hated remote firewall changes. I usually had two terminals open. In one, I'd run my "cya" script that slept for a minute, restored the old firewall rules, slept another minute, then did a reboot. In the other terminal, I'd run the
46.
▲
by
kree10
16y ago
Deliberately proposing bad solutions sounds fun, but wow could that backfire. Applied to software projects, the "bad" version will get the go-ahead, and we'll be stuck maintaining it forever. You could argue that this is already happening,
47.
▲
by
kree10
16y ago
I don't know if this is what's going on with cakecentral, but I did something like this inadvertently many years ago. We needed to have a CGI script handle all hits under a certain location, and for various reasons mod_rewrite wasn't an opt
48.
▲
by
kree10
16y ago
I'd like to think so, but if a situation presented itself where it was a choice between angering developers and angering shareholders, I wouldn't bet against the shareholders.
49.
▲
by
kree10
16y ago
I once worked at a company that had a platform named "Occam". While I was learning the system, I asked someone who had been there for a long time if they had chosen that name ironically. He didn't think it was funny.
50.
▲
by
kree10
16y ago
Aside from the footer, I got a completely blank screen, even after reloading a few times. I think I figured it out: the site loaded fine after I enabled cookies for flowtown.com. I wish the site gave a warning that it requires cookies.
51.
▲
by
kree10
16y ago
A friend had what I think was a Telstar Marksman in the late 70s. It was a console that had the usual Pong-like games built-in, and also came with a light gun for a target shooting game. It didn't take long to figure out you could "shoot" t
52.
▲
by
kree10
16y ago
I'd love to see this on a game console. I imagine it would be fun having 2 or more people with Wii controllers improvising together on the same island. The look of Isle of Tune reminds me of the artwork for the last David Byrne/Brian Eno al
53.
▲
by
kree10
16y ago
I suppose you could get that with base64 encoding rather than a hex digest. Something like: echo -n 'Secret sentence Sitename' | openssl sha1 -binary | openssl base64
54.
▲
by
kree10
16y ago
"Finally makes it much more easy, and much more readable, to do the right thing." I think this gets to the heart of what feels 'off' about PHP to me: this kind of passive-aggressiveness against "doing the right thing" seems built-in. Kind o
55.
▲
by
kree10
16y ago
I wish everyone knew. I also thought FTP was a 20th century relic, until I started doing freelance web development full-time. It turns out FTP is still the preferred (and often only ) way to manage web sites with the cheap shared hosting p
56.
▲
by
kree10
16y ago
I'm mainly thinking of companies like Eli Lilly or Ford. How much of their public /8 space are they really using? If/when the ipv4 crisis happens, yes, it should be worth their while to redo their networks to sell off a /8. Even with some o
57.
▲
by
kree10
16y ago
http://www.iana.org/assignments/ipv4-address-space/ipv4-addr... How long before one of the companies sitting on "legacy class A" IP space sells them off? Are any of them doing this already?
58.
▲
by
kree10
16y ago
FTA: "...browsers can render mockups that are just as beautiful as those created in an image editor" This gets at something I never understood about the start-with-PSD school of web design: if it's not possible to get the effect you want in
59.
▲
by
kree10
16y ago
One cool application of ssh port forwarding missing from the list is https://github.com/progrium/localtunnel It lets you temporarily give a behind-the-firewall web server a public, port 80 URL.
60.
▲
by
kree10
16y ago
"Week 8: Cloud proviers, thanks to CFO-profit-center drives, now start charging for public IP addresses." I don't think cloud providers will stop giving out public addresses 'for free'. I think their default will be public ipv6, and charge
More ›