Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
berti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
berti
8y ago
It would help to generalise the conclusions if a few different types of workloads were tested. Even as simple as a an application with a heavy skew toward lots of small allocations, and same for large allocations.
182.
▲
by
berti
8y ago
"We're all in on open source." [1] Thanks for taking the effort to check. :) I believe this kind of attitude from MS is pretty problematic for Github. [1] https://www.cnbc.com/2018/06/04/microso
183.
▲
by
berti
8y ago
Mine is still going strong. Second Apple product I ever bought (first was an iPod many, many years back), and since I've been a bit of a convert! The battery only lasts about 2-3 hours now, so I replaced it with a new model last year.
184.
▲
by
berti
8y ago
I thought the "face recognition" on Android 3 years ago was 2D and easily fooled with a likeness printed on a piece of paper? Not exactly equivalent, like a lot of "specs" that don't stand up to deeper inspection. &
185.
▲
by
berti
8y ago
I'm curious what you use them for? I've always prefered WASD for directions (too many games in my youth!), and always saw the arrow keys as a waste of space, too far away to use regularly.
186.
▲
by
berti
8y ago
> System 76 (the small linux-only hardware manufacturer) Nitpick: IIRC they purchase hardware from some other OEM vendor (Clevo Google suggests).
187.
▲
by
berti
8y ago
K&R is still not outdated!
188.
▲
by
berti
8y ago
And be careful that you don't break real code trying to fix something obscure that's never likely to be seen in real code.
189.
▲
by
berti
8y ago
Which no doubt comes from the term "master copy", which has a long established, and quite precise meaning. Choosing a different meaning arbitrarily(or actually, quite deliberately) is disingenuous at best.
190.
▲
by
berti
8y ago
Each member has the option to use the client of their choice (IRCCloud, their own bouncer, web client, desktop applications, etc.), each with varying cost, effort, and convenience. With Discord, everyone is locked into Discord. P.S. You onl
191.
▲
by
berti
8y ago
Why would they need to? IRCCloud does that for them (the joys of SaaS).
192.
▲
by
berti
8y ago
A side-effect, rather than the primary goal. There is a not-so-subtle difference.
193.
▲
by
berti
8y ago
It's a little sad when you have to divert your best and brightest away from advancing the state of civilization, to merely defending what you already have . Obviously that will still advance the state of the art in some areas.
194.
▲
by
berti
8y ago
And you can write dissectors in Lua. Super handy for quick/dirty jobs.
195.
▲
by
berti
8y ago
There is a such a thing as an Ethernet tap (basically, you tap one pair to Rx on a NIC, and if you want both ways you need another NIC)... but it's tricky to avoid impedance mismatch etc, and not feasible at all for Gigabit Ethernet. T
196.
▲
by
berti
8y ago
A little tangential: POSIX reserves the suffix _t for itself [1]. [1] https://www.gnu.org/software/libc/manual/html_node/Reserved-...
197.
▲
by
berti
8y ago
Yes, I didn't include it as it's not well suited to IoT "out of the box" due to lack of wireless drivers, and very limited network stack. I do enjoy it's simplicity and have used it for many non-networked projects (
198.
▲
by
berti
8y ago
There already exist a number of more suitable operating systems for these purposes that require much less resources e.g. NuttX, RIOT, Contiki, Zephyr. Running this requires at least 128k of SRAM and 512k of flash just for the OS, so you
199.
▲
by
berti
8y ago
You could exec from SRAM if you have enough to spare (larger Cortex M4/M7 uCs have 256k+, RetroBSD claims to only need 128k of that).
200.
▲
by
berti
8y ago
I disagree. The indentation of the extra #s makes it much easier to scan the document structure with your eyes. #5 would only make sense if you're only using your markdown as a source for translating to some other format and you want t
201.
▲
by
berti
8y ago
That's certainly a valid approach, but I've never actually seen those used in practice. I guess, like me, people are lazy and prefer typing just int, which is guaranteed to be at least 16 bits, and is generally the fastest int typ
202.
▲
by
berti
8y ago
Expected a PyPi module to be highlighted each week, came away disappointed to find it's just the standard library, which is already covered better at https://docs.python.org/3/library/index.html
203.
▲
by
berti
8y ago
None of these are hacks! They are fully fledged, intentional, features.
204.
▲
by
berti
8y ago
I tend to use int for loops (where I know there will always be less than 2^16 iterations!), return codes etc. purely because it allows the compiler to pick a fast word size everywhere (e.g. if somebody compiles your code for AVR, and your l
205.
▲
by
berti
8y ago
lnav looks really neat. Thanks!
206.
▲
by
berti
8y ago
> Or maybe they're not the bad guys and the state has deemed them "bad guys". Fun conversation topic. A large proportion of people cannot comprehend such a concept.
207.
▲
by
berti
8y ago
"printf" will always have it's place, because when things are hosed, there's a good chance you can't push stuff to network, but things have to be really hosed to stop you pushing some chars to a UART. > I mean
208.
▲
by
berti
8y ago
Last I checked MSVC couldn't even do C99 properly yet.
209.
▲
by
berti
8y ago
I've been using it a bit at work.. The thing that stops me fully adopting it is how long it takes to start, and then it's very laggy for the first few seconds after that. It is a very nice editor once it's running though for
210.
▲
by
berti
8y ago
Well, those excuses are garbage everywhere. :/ All the extra electricity burned around the world would easily pay for more highly skilled devs to write a native application (source: plucked from thin air ;) ).
More ›