Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheNewAndy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
TheNewAndy
3y ago
I do most of my non-work development on a non internet connected computer purely because I do it on a train. It isn't strictly airgapped, but I did develop an iOS game nearly entirely this way (with the very final steps needing to be d
32.
▲
by
TheNewAndy
3y ago
At least historically, the definition of "byte" has been "the smallest addressable unit" which on most of today's machines is 8 bits, but not all (I believe the SHARC floating point DSPs are still 32-bit bytes, and
33.
▲
by
TheNewAndy
3y ago
Careful with this company. Do some research before buying anything from them so you know what you are getting into. Still waiting for my refund...
34.
▲
by
TheNewAndy
3y ago
I believe the intention of those was that it was actually a "slow down" button just with enhanced marketing. But when you played an old game which was designed with no frame limit cap, you could slow the game down to a playable sp
35.
▲
by
TheNewAndy
3y ago
Depends if you mean python the interpreter or python the language. e.g. pypy still supports python2 and has "indefinite support" or something along those lines. Even the cpython2 interpreter is no longer supported by the original
36.
▲
by
TheNewAndy
3y ago
If you have a memory leak, then take a process that has been leaking for a while and look at its memory. Just pole a few places at random and statistically you should quickly find what is leaking. I am pressure this would have cut down a lo
37.
▲
by
TheNewAndy
3y ago
Thanks for your reply - and I probably would have missed it except by complete chance. I still don't think it has properly clicked, because the function "f(x) = xN" still needs me to know what N is - despite it being an integ
38.
▲
by
TheNewAndy
3y ago
I believe you are correct, however I am struggling to see how. If you have the time to help me with my understanding then I would appreciate it. I'm looking at wikipedia's formal definition, which says that for x to be computable,
39.
▲
by
TheNewAndy
3y ago
What is the 100th busy beaver number? I believe this is an integer, and I also believe it is not computable
40.
▲
by
TheNewAndy
3y ago
I know one person who did something like this, and I don't think they ever actually followed through on doing the reading part. I don't think encyclopedias are even supposed to be read that way - so based on the sample size of 1,
41.
▲
by
TheNewAndy
3y ago
I use valgrind regularly, and prefer it over asan. asan will result in a faster executable which is nice, but I far prefer valgrind's output than asan's (this might be preference, but I find it to be clearer), and various things b
42.
▲
by
TheNewAndy
3y ago
I am not the author, but I imagine that it could have started out as just a preference, but turned into great hatred as they kept on being introduced in more and more places. I don't mind colour, but really dislike incorrect colouring
43.
▲
by
TheNewAndy
3y ago
I've never understood the circumstances where it is ok for a copy/concatenate operation to also include a bonus "truncate the result" operation at the end. I'm a believer that you should use strcpy and strcat, and a
44.
▲
by
TheNewAndy
4y ago
Rain water tank?
45.
▲
by
TheNewAndy
4y ago
Be wary of ordering anything from them. My order from 2019 is now ready to ship, but I have since changed my mind and asked for a refund instead. That was about a month or so ago, and while their words assure me that they will do it, they h
46.
▲
by
TheNewAndy
4y ago
Another example would be cadbury (chocolate company) and another shade of purple. It makes sense - if you go into the shops and see a wall of purple, it is nice if you know what this actually represents, and don't have all the differen
47.
▲
by
TheNewAndy
4y ago
I don't think this is necessarily true. You could just have malloc() bump an allocation pointer by the size, return the pointer pre-bump, or return NULL if we run out of space. Then free() can do nothing. If you decide you want to have
48.
▲
by
TheNewAndy
4y ago
From memory, you could end up fragmenting things, and I think this would typically result in losing some of the capacity of a disk. I think people would do a disk to disk dub in these situations as a form of "defrag" operation. Yo
49.
▲
by
TheNewAndy
4y ago
Speculation, but are you sure it isn't the other way around, and something is chewing up your CPU time, which is then turning into the bottleneck. If you did profiling to actually determine where the CPU time was being spent, then you
50.
▲
by
TheNewAndy
5y ago
I have used the dock with windows and Linux machines and seen solar issues btw. So I would expect the same with an Intel mac
51.
▲
by
TheNewAndy
5y ago
It is missing Ethernet, which seems to be important to the author. Having heard positive things about caldigit, I got their USB-C Pro Dock and I get frequent screen blanking with my M1 Mac, and often some of the USB ports fail to work. I do
52.
▲
by
TheNewAndy
5y ago
Have you seen how thick the librem 5 is? I think it is think because of the two m.2 slots in it, but I don't think you would want it any thicker.
53.
▲
by
TheNewAndy
5y ago
I'm not a power user, but I have found this combination works well: Firefox + uBlock Origin + Video Background Play Fix uBlock Origin -> removes the ads (but no sponsorblock) Video Background Play Fix -> lets you turn off the scr
54.
▲
by
TheNewAndy
5y ago
With the amount of cash apple has, it very much is about bothering. They have the resources to make their development tools not terrible, but instead they seem to be investing in... cash for a rainy day.
55.
▲
by
TheNewAndy
5y ago
You are correct. It is frustrating because clearly it can be hardware accelerated, just Apple hasn't really bothered themselves to do this
56.
▲
by
TheNewAndy
5y ago
One thing that is surprisingly slow on the M1 is running an OpenGL ES application in the simulator. I developed a game on a shoestring budget, and hoped that an M1 would be able to be used for capturing video of the game at the resolutions
57.
▲
by
TheNewAndy
5y ago
I used to have no adblockers on anything, and I was fine with it. Then I had kids, and I wasn't really comfortable with bringing them up in an environment where when you tell a computer to do one thing ("Play this video") it
58.
▲
by
TheNewAndy
5y ago
I use firefox + uBlock Origin + <some extension I can't remember the name of that lets videos play if it goes into the background>. Is there something I am missing out on?
59.
▲
by
TheNewAndy
5y ago
I made a game for touchscreens, and a single pixel of "error" in input could be the difference between winning and losing. The game will cheat behind the scenes to try a few variations on your inputs to see if any of them can win
60.
▲
by
TheNewAndy
5y ago
How do these work with multiple users? If two users are looking at the same directory, then do they fight?
More ›