Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Shish2k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
871.
▲
by
Shish2k
12y ago
> we need real-world examples of systems being upgraded into which only minimal tweaking of the init system has gone I am in that group (having a bunch of debian servers, ranging from "~5 years old upgraded one release at a time&quo
872.
▲
by
Shish2k
12y ago
Now that you mention it, I forget why that specific snippet is in my config... it is part of a block of similar-but-more-useful things (specifically, having multiple caches serving the same static content from a variety of different domain
873.
▲
by
Shish2k
12y ago
Not generating the www redirect (IMO that's more of a web server / application layer job than a cache job); but you can make varnish cache www and non-www objects together: if (req.http.host == "www.foo.net") {
874.
▲
by
Shish2k
12y ago
In addition to other answers - it depends what the cookies are for -- if your users only get a session cookie after logging in (before that they only have front-end cookies for things like google analytics / remembering which widget on
875.
▲
by
Shish2k
12y ago
I wonder what most of those optimisations were ? In particular, are there any that are general enough to be worth knowing about, or even worth including at the compiler level?
876.
▲
by
Shish2k
12y ago
> they were released unfinished Isn't that how open source is /supposed/ to work? TBH, as a Debian user, I'm quite happy with the "Lennart releases theoretically brilliant but practically buggy apps, Ubuntu /
877.
▲
by
Shish2k
12y ago
If you scroll down past all the photos of chilli peppers, this guy was posting interesting things he found during the VNC scan: https://twitter.com/viss/media (Would be nice if there was a gallery, as infinite scrollin
878.
▲
by
Shish2k
12y ago
I used to use it selectively; but now that even google has started doing animated automatic-expanding block-the-page-you're viewing stuff I think I might just give up hope :(
879.
▲
by
Shish2k
12y ago
It was trendy two and a half years ago when this thread happened. I like to imagine that things are better now... (They certainly are in Go, where the language authors learned from JS's mistakes, and decided to supply a code formatter
880.
▲
by
Shish2k
12y ago
Rather than "is this perfect?", the important question for me is "is this better or worse than my current diet of instant noodles and baked beans, with the occasional delivery pizza when I'm too lazy for instant noodles?
881.
▲
by
Shish2k
12y ago
> What outreach have you tried to get more women to apply? We haven't done outreach to any specific group (I'd guess because we aren't "looking for women" per se, we "looking for good developers and gender d
882.
▲
by
Shish2k
12y ago
The company I'm currently working at doesn't have any assholes in the dev team; and yet even after hiring every single woman who has ever even applied for a software development role, we have zero women in the team :/
883.
▲
by
Shish2k
12y ago
Last I checked the unix philosophy was "small tools that each do one thing well". You're saying that perl is a good example of that? IMO making "cut" be better at its one job is more unix-y than using the more compl
884.
▲
by
Shish2k
12y ago
> And I don't see why we should There is general negativity towards the idea of making assumptions based on appearances; but if we collectively decide that appearance is meaningless, don't we lose the useful ability to send in
885.
▲
by
Shish2k
12y ago
> Here's the real secret: they'll make whatever you order. I'm shocked by how totally un-known this is. Reminds me of ordering pizza with one menu between 10 people; everybody wanted to have a look at the menu because they
886.
▲
by
Shish2k
12y ago
Your sarcasm is byte-for-byte identical with many people's honesty, can't really blame someone for not being able to spot the difference :P
887.
▲
by
Shish2k
12y ago
"We teach them basic manners; some of them ignore it and get into trouble, but overall it's still a net benefit to society to teach the tool to all children" is exactly the point I am making :-)
888.
▲
by
Shish2k
12y ago
I don't think kids should learn to use cutlery at such early age, not without proper ethics training. Cutlery gives you a lot of power. The power to do both good and evil. Children just don't have that kind of judgement. If you te
889.
▲
by
Shish2k
12y ago
Harry Potter and the Methods of Rationality -- a fanfiction with the twist that Harry was raised to believe in science; as such he applies logic to understand how magic works, to bend it to his will; IMHO it's easily on a par with the
890.
▲
by
Shish2k
12y ago
> Any such scrollback is a property of the (local) terminal you're using, not ssh itself. The Mosh client is also a terminal emulator (similar to screen); part of the reason it can be so efficient is that it isn't just another
891.
▲
by
Shish2k
12y ago
No, I'm pretty sure it's the language. Coming from Python, Go's tiny and sparse standard library is one of the things I don't like about it :P
892.
▲
by
Shish2k
12y ago
Another slight caveat -- as well as predicting things which should work, it should also predict what won't work. If your theory is that your medicine cures an illness, it's not enough for people who take it to get better - peopl
893.
▲
by
Shish2k
12y ago
I am assuming that most people are interpreting this as "what stops you being productive while in the office" :P
894.
▲
by
Shish2k
12y ago
People are excited that the features which already existed are now tied together in a pleasant to use way, free from most of the drawbacks that are typically associated with low-level languages
895.
▲
by
Shish2k
12y ago
I wasn't interested in the first place, because I don't want to replace JS with a different new browser-centric language; I want to replace it with an existing good general-purpose language that just happens to run in a browser.
896.
▲
by
Shish2k
12y ago
> I’m looking forward to Rust being significant enough that tools like PVS-Studio get built around it. I wonder if it would be possible to decouple languages and analyzers? Would be nice if the PVS people had an option to validate someth
897.
▲
by
Shish2k
12y ago
DFEOJM says the site is up if it is physically contactable -- in this case the site is contactable, and it responds with "this site is down" (but as HTTP/200 because the page still has some content rather than being an serv
898.
▲
by
Shish2k
12y ago
> The mapcode foundation reserves the right to change the country list and population density maps, at which point existing codes will point to different places or be invalid Nope.jpg
899.
▲
by
Shish2k
12y ago
On the flip side, I don't want to be anonymous, I want my achievements tied to my real persona --- but my real persona is "Shish" (with no surname), and G+ didn't allow that... (And apparently it still doesn't -- de
900.
▲
by
Shish2k
12y ago
Thing is, some of these are genuinely useful and smart things, in very specific contexts :P To paraphrase a recent experience of my own, a manager calling a meeting with the dev team "we need to re-arrange the javascript in our heade
More ›