Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anon4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
61.
▲
by
anon4
11y ago
Looks like pretty folders for pictures with titles with a grid background. I'm not sure why it's so revolutionary all of a sudden. Maybe the UI is really slick?
62.
▲
by
anon4
11y ago
I'm leaning towards an army of battle droids. I wonder if I can kickstart that...
63.
▲
by
anon4
11y ago
It's called Shadowrun. You're living it. The only thing missing is corporation-states and those are coming fast.
64.
▲
by
anon4
11y ago
> The fact that I technically only asked how long the fix would take is something only an engineer would bother pointing out. -_- Well excuse me for not fitting your prejudiced profile for a neurotypical extroverted 20-something white ma
65.
▲
by
anon4
11y ago
Yeah, but then you have to compile the function in every single cpp file and your linking time increases and you're at risk of violating ODR and you have to give people the full definition of your function if you're making a libra
66.
▲
by
anon4
11y ago
P.S. as a corollary, if you were 14 today and on snapchat, you'd be one of the weird people she doesn't want to snapchat with and you'd be in the exact same position.
67.
▲
by
anon4
11y ago
I didn't know how to use Facebook when I was 18, so don't feel too bad. We grew up on IRC and PHPBB, social networks of fundamentally different make than the ones in use now. Plus, you are (were) one of the dorks and your sister i
68.
▲
by
anon4
11y ago
Right, 8. I miscounted it as 4 loops :)
69.
▲
by
anon4
11y ago
And then you do infinite copying if you're catenating a string with itself.
70.
▲
by
anon4
11y ago
Good, but I'd do one modification -- always write a null byte at the end. Otherwise you end up with a non-null-terminated string and that's bad. So, copy_sz = src_sz < (dest_sz - dest_off) ? src_sz : (dest_sz - dest_off - 1
71.
▲
by
anon4
11y ago
strcatm is the convenience macro that adds a last NULL arg. And it's 16, because it doubles each time. Already fixed.
72.
▲
by
anon4
11y ago
As a bonus, this works with e.g. char buf[256]; buf[0] = 'x'; buf[1] = '\0'; strcatm(buf, buf, buf, buf); producing a string of 16 'x's
73.
▲
by
anon4
11y ago
Eh... // This code is licensed under CC0. // A copy of the license can be obtained at https://creativecommons.org/publicdomain/zero/1.0/ // May you forever catenate in peac
74.
▲
by
anon4
11y ago
Could it be that all animals have empathy, but some have a much smaller and/or different set of feelings they experience? As an analogy, if I see you eating candy, I can understand that you're currently tasting sweet, but if a cat
75.
▲
by
anon4
11y ago
The phone one was a bit grating because the numbers didn't have any quantities attached to them. Though of course that would make the question trivial, if I wrote something like "P = 108 - 23*d", I'd get marks off and a
76.
▲
by
anon4
11y ago
I'm more perplexed by how to solve it, since any odd number of salads is a solution. I.e. for every k, 836.5 - 6.5 * (2 * k + 1) is an even number
77.
▲
by
anon4
11y ago
From what people I've talked to have told me - they don't trust Microsoft to secure the OS. Plus, e.g. Comodo gives you a firewall. While I know that Windows has a perfectly good firewall, it doesn't come with a systray icon
78.
▲
by
anon4
11y ago
You also have laws against copyright infringement. And just as you can't unsee an illegally downloaded movie, you can't unkill a man.
79.
▲
by
anon4
11y ago
Off-topic (though hand-picked integers isn't much of a topic to begin with..) do you know of a font, preferably serif, that has the little cross bar on the digit 7 that's common to hand-writing but seems to be shunned by most font
80.
▲
by
anon4
11y ago
So you're saying the "pretend to upkeep security while in reality maintaining an iron grip on society for your friends in [REDACTED]" market is ripe for disruption? ...
81.
▲
by
anon4
11y ago
> could really care less Annnd that's a downvote. This community prides itself on good, honest discourse and high-level language. Please don't bring us down to the level of a 7-year-old redneck.
82.
▲
by
anon4
11y ago
Kind of related, I'm really disappointed at Google Maps's inability to deal with my country's addressing scheme. We practically have two parallel systems in use: the usual street+number, and district+number. Almost without ex
83.
▲
by
anon4
11y ago
Yeah, a full graph would have been nice. Maybe one where you can click a language and it rearranges centred on that.
84.
▲
by
anon4
11y ago
So SELECT yada yada LIMIT n + epsilon + 1, and if you get that many elements out, display n, otherwise, display all of them.
85.
▲
by
anon4
11y ago
Drivers will be available on release day and all currently sold hardware will support it.
86.
▲
by
anon4
11y ago
You can replace cat in show() with tail -n +0 which will also output each file's name as a heading.
87.
▲
by
anon4
11y ago
Because it has a friendly interface, while Vim and Emacs have all these "weird" keybinds and whatnot. These are people switching from e.g. SublimeText to Atom. I am not trying to harp on Vim or Emacs, I myself am a Vim user and us
88.
▲
by
anon4
11y ago
Isn't he basically preaching a rentier economy? That sort of thing is not sustainable at scale - at best you can have something like 10% of people getting rent (leeching off of) the people doing the actual work. Speaking ethically, thi
89.
▲
by
anon4
11y ago
His wallpaper doesn't strike me as particularly work-appropriate. And let's not forget the blow that Leia's "slave outfit" dealt to feminism and female participation in the arts.
90.
▲
by
anon4
11y ago
At this point I'm not sure if it's even the perception of those around you and not what those around you think the perceptions of those around them might be.
More ›