Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
claudius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
211.
▲
by
claudius
10y ago
The difference is that using STL containers such as std::string or std::vector are very much the default in C++ (much the same way ‘safe’ code is the default in Rust), whereas you have to do some manual work in C to get them. The result is
212.
▲
by
claudius
10y ago
Oh, yes, sorry and now it’s too late to fix (both that and the horrible formatting). Though I suppose it would have been a compile-time error, so at least it shouldn’t be exploitable :')
213.
▲
by
claudius
10y ago
If you can change the name_path struct to a standard STL data structure (std::vector<std::string> might work just fine), you can easily rewrite the function such that all memory allocation and all exploitable memory access is delegate
214.
▲
Data protection reform: (EU) Council adopts position at first reading
(consilium.europa.eu)
3 points
by
claudius
11y ago
|
0 comments
215.
▲
by
claudius
11y ago
> Unfortunately in many juristictions seeding is copyright infringement and leeching is not. At least in Germany, both leeching and seeding are copyright infringements as soon as you upload any data back into the swarm. Since leeching
216.
▲
by
claudius
11y ago
On the other hand, 2^565 is already slightly larger than 10^170. In other words, a couple of hydrogen atoms as quantum bits can perfectly well encode every possible position.
217.
▲
by
claudius
11y ago
(It's been a while since I took this class, the following might well be wrong or grossly inaccurate) The particles of the standard model are assumed to correspond to the irreducible representations (irrep) of the groups associated to t
218.
▲
by
claudius
11y ago
Regular maintenance work (maybe just sweeping dust off everything or fixing minor leaks etc.) might require complete shutdowns, as the magnetic fields and temperatures around the accelerator might be dangerous. Further, scientists often mov
219.
▲
by
claudius
11y ago
> However, how does sorting, say, the physical length of sticks come into this? If you stand them all in a bundle you can easily select out the tallest, and then the next tallest, etc, by e.g., lowering a sticky horizontal plate. But her
220.
▲
by
claudius
11y ago
Interesting. So how would a reasonably new ARM core compare to this? The point is, the Xeon is definitely outdated and the Cortex A7 seems to be a little bit dusty as well, so…what exactly was the point of this comparison? Two CPUs from two
221.
▲
by
claudius
11y ago
Wikipedia¹ lists a Cortex A7 „designed specifically for Raspberry Pi 2“. The Raspberry Pi 2 was released in 2015, so the CPU was released in 2015? [1] https://en.wikipedia.org/wiki/ARM_Cortex-A7
222.
▲
by
claudius
11y ago
That looks a lot like a standard 3.5" HDD case as found in many desktop computers with the Raspberry Pis possibly just lying in it? I might very well be wrong, but it looks a lot like e.g. http://www.overclock3d.net/gfx
223.
▲
by
claudius
11y ago
Keep in mind that this Xeon (E5620) was released in 2010, whereas the Cortex A7-Quad seems to be from 2015? So it would be interesting to compare the ARM cluster against a comparably new Intel CPU (say Haswell or Broadwell); in my experienc
224.
▲
by
claudius
11y ago
Does anybody have a suggestion for an Android/Sailfish OS app which supports this? Ideally I’d like to run something like hledger-web on my home server and have a little app on my phone which lets me do data entry during the day, eithe
225.
▲
by
claudius
11y ago
Well, if the first assumption doesn’t hold, we’ll have to restrict our usage even more. Short of dimming the sun, I don’t see how you can keep “all this carbon in atmosphere” and still only get 2°C.
226.
▲
by
claudius
11y ago
> to just copy all of Ubuntu's (or Debian's) binary packages and build a new derivative distribution on top of it This is okay. However, copying Ubuntu’s and Debian’s packages into the same repository and then mixing them wil
227.
▲
by
claudius
11y ago
> I'm using "never" rather than "rarely" very deliberately here True, we could also have used FORTRAN.
228.
▲
by
claudius
11y ago
Not sure what to make of this. Specifically: × There is quite absolutely no need for some fancypants IDE. Use a text editor that can indent stuff automatically and maybe has some syntax highlighting and you’re good to go and write all the c
229.
▲
by
claudius
11y ago
Adding '\n' to the string is perfectly fine, no std::endl needed (\n translates to the system-specific newline and the stream is flushed on destruction anyways).
230.
▲
by
claudius
11y ago
If gitlab stored its issues and wiki on a separate branch of the main git repo in some format I can still read when I decide that some other server (github, bitbucket or maybe just plain git), I would actually use those features. Right now
231.
▲
by
claudius
11y ago
> "If you can't explain it simply, you don't understand it well enough." is my new favorite Albert Einstein quote. It’s also one of his more moronic quotes. Certainly on a very abstract, dumbed-down level everything c
232.
▲
by
claudius
11y ago
http://i.imgur.com/sDzAMjg.png That’s a rather large font size.
233.
▲
by
claudius
11y ago
How is that related to client certificates?
234.
▲
by
claudius
11y ago
> useful to remove the need for cash (i.e., use credit cards -- particularly corporate Amex) in booking a ride. > I've used this in Paris and Munich in the last year. Did you manage in Munich without cash at all? My expectation w
235.
▲
by
claudius
11y ago
Reading speed is rarely the bottleneck in reading textbooks, just as typing speed is rarely the bottleneck in coding. In fact, I found that strictly limiting my reading speed, e.g. by forcing myself to spend at least two minutes on a page b
236.
▲
by
claudius
11y ago
But this should also be possible without the game executable looking up DLLs in its CWD? A mechanism analogous to LD_PRELOAD_PATH on Linux should work equally well or the mod could provide its own binary, load its dll and then run the main
237.
▲
by
claudius
11y ago
> Is that meant literally? And for how long can one stay there as a foreigner? As an EU citizen, forever. For everyone else, the same rules apply as always. Working for companies outside Poland shouldn’t be an issue either way, you just
238.
▲
by
claudius
11y ago
The relevant cost for container ships are fuel, not people. Self-driving container ships don’t run on less fuel and considering the massive size of these ships. For example, Maersk’s Triple-E class ships are manned by 22 people (according t
239.
▲
by
claudius
11y ago
Move their fat bottoms away from the table when they’re done eating. On a more serious note, you are of course correct, though I can imagine that having a link between somewhat-abstract calories and a timespan that you know you need to work
240.
▲
by
claudius
11y ago
Cars need much more space and emit much more…stuff (noise, particles, you-name-it) than any other form of transport.
More ›