Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
112233
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
631.
▲
by
112233
7y ago
Ok, let's take as an example a string equality comparision algorithm (strcmp() == 0). What would be your definition of a meaningful input?
632.
▲
by
112233
7y ago
Having not drunk an ANSI cup of ISO coffee, what is the approximate amount being discussed? A pack a day (of ground beans)? How many GreatBrittan cups are in, e.g. a typical Swedes' coffee?
633.
▲
Text Synth
(textsynth.org)
2 points
by
112233
7y ago
|
0 comments
634.
▲
by
112233
8y ago
had similar idea (4k lg tv, one of the last with netcast). what you might want to look out for when picking 4k tv as a monitor: - backlight pwm. tv is huge and covers most of your fov at monitor distances. pwm burns my eyes off, and it goes
635.
▲
by
112233
8y ago
actually curious: in a codebase worked on by multiple devs, how do you acquire the hint that those few lines you are about to write have been made in a reusable function by someone? Is there some naming convention, a fuzzy search, or some o
636.
▲
by
112233
8y ago
Ask NH: How do you watch Homestar Runner in 2019?
637.
▲
by
112233
8y ago
second kinesis. after getting one for work, the wrists are not hurting anymore! also, now I touchtype on other keyboards as well, which I could not do before.
638.
▲
by
112233
8y ago
encode.ru Data compression. Low flame. "paq man" is there, "durilca man", "ans man", "zstd man"... ("oodle man" left ...)
639.
▲
by
112233
8y ago
Opera! Like Opera 12. The only good email and nntp and rss client ever. Full text indexed search speed and huge folder handling...
640.
▲
by
112233
8y ago
Have they added a way to turn off spellcheck suggestions yet? Compiling with newer gcc feels like some monty python skit: #include <stdio.h> int main() { retrun 0; } $ gcc a.c a.c: In function ‘main’: a.c:2:14:
641.
▲
by
112233
8y ago
Not a container, but IF you manage to get Qubes running, it's really easy to create temp VM off fedora or debian that cannot access your other stuffs. You can even swap distro from under your homedir later.
642.
▲
by
112233
8y ago
> You can't sell raw meat without a package, for instance; that idea is absurd and stupid. Here in [some european country] preferred way of getting quality meat is at the market, where it is not prepackaged. Larger supermarkets als
643.
▲
by
112233
8y ago
> if (x & (1<<n)) { > n-th bit is set Yeah, don't get a habit to do that. Instead: if ((x >> n) & 1) if x is wider type that int or n, the result of (1<<n) may be UB, and in practice t
644.
▲
by
112233
9y ago
Yes, I meant that-end-of-EU, sorry for coming off cheeky. Winning the great EU customs roulette with batteries is not worth it if there is an OKish intraEU seller. Plus, a lot of discussions about it's batteries in .ru (!) internets.
645.
▲
by
112233
9y ago
Norway? Isn't Nkon next to your door?
646.
▲
by
112233
9y ago
ENOTENOUGHINFO: Any of the following changes what data structure should be used: read/write ratio, key size, data size, what is the interface to sdcard. Gut feeling is that with TENS of bytes you will only get an append-only log.
647.
▲
by
112233
9y ago
Since I missed on missing it, was there any particular feature that's not in other rss readers? I have only user rss via gwene over nntp, if that went away, i'd miss it bunches.
648.
▲
by
112233
9y ago
> I don't understand why you are making a distinction between table-like and non-table-like containers: both can take allocators. Because for map<> in general I cannot know how much allocations and of what size will it need to
649.
▲
by
112233
9y ago
Of course. What I meant is that if I am writing bigtask myself, then preallocating resources for any non-table-like data structure (like map) means I cannot use STL as it is now, even with custom allocators. I have to write custom data stru
650.
▲
by
112233
9y ago
Agree about unit tests. But asserts are used also to catch invalid _use_ of functions. void f(size_t x) { assert(x); // calling f with 0 is bug } constexpr f(size_t x) { ?????(x != 0); // &
651.
▲
by
112233
9y ago
> Use an IDE. Explain.
652.
▲
by
112233
9y ago
Ugh, so much wrong with this. There is C++, as implemented by every compiler, and then there is fantasy C++, as seen by the committee... See, e.g. this trainwreck: https://groups.google.com/a/isocpp.org/forum&
653.
▲
by
112233
9y ago
Right. My point was that there is no mechanism to do top level resource allocation, like exceptions do for top level error catching. Allocators are fine, but they are not enough for this, really: // big task will create map&
654.
▲
by
112233
9y ago
So nice to see that attitude. Exceptions, as implemented in C++, turn it into a dynamically typed language. If working with code written by others (libraries, big project), it is really hard to reason about control flow if every function ca
655.
▲
by
112233
9y ago
re: pure sounding. make sure track starts and ends on zero crossing, or add volume ramping. Otherwise click on discontinuity will be very non-pure.
656.
▲
by
112233
9y ago
> I've often wondered whether foreign users ever get annoyed with some of our names that happen to acronym to something unfortunate in their native language. Do they just have to live with it, or does it never happen? All the time,
657.
▲
by
112233
9y ago
what about cases when regular debugging is printf/assert/static_assert?
658.
▲
GPD WIN 2
(forum.gpd.hk)
2 points
by
112233
9y ago
|
1 comments
659.
▲
by
112233
9y ago
Probably depends on how they make curriculum. Some of the things I remember having been taught: runge-kutta analythic geometry turbo pascal (or one of his relatives) DFA/NFA Some of the things I find useful at work: me
660.
▲
by
112233
9y ago
> This is where having proper engineering/mathematical training pays off. Rather, this is where personal research skills are needed. I cannot imagine a programmer "hacking around" without researching existing solutions for
More ›