Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shakesbeard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
shakesbeard
13y ago
Yes. The default seed is 1. You can set your own using something like this: rand.Seed(time.Now().UnixNano())
32.
▲
by
shakesbeard
13y ago
Did they introduce a language solution for it in C#?
33.
▲
by
shakesbeard
13y ago
> Really, an article on censorship from "RT" aka Russia Today? According to Wikipedia "funded by the federal budget of Russia". What does that have to do with the story of the article? Either the story is true or not
34.
▲
by
shakesbeard
13y ago
I wrote one for my blog, maybe it is of use for you, too. http://bigwhoop.github.io/lyme/
35.
▲
by
shakesbeard
13y ago
90% of example code for PDO uses prepared statements. 90% of example code for the mysql_* functions is ancient and full of security holes.
36.
▲
by
shakesbeard
13y ago
You could use the following to get the path to your assets. import ( "go/build" "path/filepath" ) pkgInfo, err := build.Import("github.com/minikomi/pipesock", "", 0) if err != nil { panic(err)
37.
▲
by
shakesbeard
13y ago
Which is clearly a parody?
38.
▲
by
shakesbeard
13y ago
Recently switched from Consolas to Bitstream Vera Sans Mono. Has been a good experience so far. http://i.imgur.com/qNlpYvn.png http://www.dafont.com/bitstream-vera-mono.font
39.
▲
by
shakesbeard
13y ago
Why not make the download or BluRay available when they get released anyways? I wouldn't care. And I would have paid $30 to get this plus the playlists/script.
40.
▲
by
shakesbeard
13y ago
And yesterday: > The summer ice melt in parts of Antarctica is at its highest level in 1,000 years, Australian and British researchers reported on Monday, adding new evidence of the impact of global warming on sensitive Antarctic glacie
41.
▲
by
shakesbeard
14y ago
But do you trust the website, email, or other source, where you copied the command? If someone can spoof this link on the official kernel website, they may as well have access to other, way more sensitive resources.
42.
▲
by
shakesbeard
14y ago
That is hardly any proof?!
43.
▲
by
shakesbeard
14y ago
> Would you say, "If male programmers make you uncomfortable, don't learn to program"? If you would, then that is part of the problem. Now we're mixing scenarios. wpietri scenario was one I could not change anything because there wasn't
44.
▲
by
shakesbeard
14y ago
> They talked with Adisa, so they probably did recognize that she was a woman. As far as I've read they talked to each other, not her. > As a frequent teller of jokes, I always try to match the joke to the audience. If religious peo
45.
▲
by
shakesbeard
14y ago
> That feeling of discomfort? The way your heart speeds up as you start wondering if you're safe? Women feel that a lot. Then I get out of the bar. Or look for some nice company (maybe talk to the bar man or find a woman in the bar?). P
46.
▲
by
shakesbeard
14y ago
Because your average graphics designer or blogger has no idea what Apache is, what public directories or file permissions are. They just want to run their own blog. That's why Wordpress (or PHP for that matter) is successful; it's easy to s
47.
▲
by
shakesbeard
14y ago
Yep, thanks!
48.
▲
by
shakesbeard
14y ago
> To make it simple, just let the kids choose and decide for themselves... No, that's not how it works. By that logic we also would have to teach about ghosts, dwarfs, <stroke>astronomy</stroke>astrology, or just claims
49.
▲
by
shakesbeard
14y ago
And that's PHP's fault? It won't affect you if you start writing a PHP 5.3 (or even 5.4) app today.
50.
▲
by
shakesbeard
14y ago
So PHP would be better off without adding a missing feature? I don't get your reasoning.
51.
▲
by
shakesbeard
14y ago
That may be true for servers, but certainly not for developers, or rather the average PHP user. Think of all the WAMP installations used to setup a Wordpress page.
52.
▲
by
shakesbeard
14y ago
Common practice seems to be using a half Swiss/half German flag for de_CH, and half Swiss/half French flag for fr_CH or just the Swiss flag for both languages.
53.
▲
by
shakesbeard
14y ago
Well, OOP in PHP seems to work rather well for thousands of large projects out in the wild - making your argument invalid.
54.
▲
by
shakesbeard
14y ago
I'm a young, white male, aka privileged person. I've read quite a lot about feminism (and anti-racism for that matter), and struggled to get a clear picture of when my actions are appreciated. I think the most important lesson I've learned
55.
▲
by
shakesbeard
14y ago
But maybe that's not want you want to achieve?
56.
▲
by
shakesbeard
14y ago
Are you trying to imply that consumption of animals and plants/fungi is the same? What's the point of that argument? I mean, come on, I'm vegetarian and I kill mosquitoes ...
57.
▲
by
shakesbeard
14y ago
At my former company we had free access to beverages (sodas, water, energy drinks, ... even beer). I gained a lot of weight while working there. After I quit I stopped drinking sodas altogether, while mainly keeping my diet (vegetarian, one
58.
▲
by
shakesbeard
14y ago
You can set the visibility of both the properties and the getters/setters. class Foo { private $fuzz; protected $Bar { get { return $this->fuzz; } private set { $this->fuzz = $v
59.
▲
by
shakesbeard
14y ago
The article clearly states that there are more features like a read-only keyword. https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented
60.
▲
by
shakesbeard
14y ago
I don't think this is accurate. As a deaf person you see when conversations take place, and when you are excluded from them. As a remote worker you don't get this consistent reminder. You are correct, that it might be similar when trying to
More ›