Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Shish2k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
271.
▲
by
Shish2k
4y ago
> Do we need US gov advisory in order to be convinced? Even HN still has a fair number of comments along the lines of “C++ is fine, you just need to do things the modern way and avoid making any mistakes”...
272.
▲
by
Shish2k
4y ago
It wouldn’t solve every problem, but it would solve this problem, and this problem happens to be a regularly reoccurring problem with serious consequences
273.
▲
by
Shish2k
4y ago
> I don't think age is particularly relevant here. “What technology you grew up with” is definitely a factor (not the only factor, but a big one) in “what technology you feel comfortable using”.
274.
▲
by
Shish2k
4y ago
> give me a big disclaimer that I assume the risk Are you (and everybody else who ticks this box) going to pay for the company’s time dealing with the resulting tech-support phone calls? You might be willing to assume the risk for your o
275.
▲
by
Shish2k
4y ago
I’m currently using a few different filesystems for different use-cases, and looking forward to bcachefs because (as I understand it) it covers some use-cases that I’ve been dreaming of for ages and not yet found any solution for: - raid5&#
276.
▲
by
Shish2k
4y ago
Change is subjective (see the other comments about how terrible it is) - but personally I found that ReVision basically turns Deus Ex into “How I remember Deus Ex” - eg. when I first played DX I thought that the levels were huge because the
277.
▲
by
Shish2k
4y ago
I need to use nightly because my code makes the stable compiler crash, so...
278.
▲
by
Shish2k
4y ago
> It's probably "slow" because of sdl and cgo not native Go code The other languages are also using SDL via their respective interacting-with-C interfaces - what makes Go special here?
279.
▲
by
Shish2k
4y ago
Looking at ReVision (a community made re-master of the original, now officially endorsed and available on steam) and The Nameless Mod (A total conversion), looks like modders can do some really spectacular stuff even without the source, pat
280.
▲
by
Shish2k
4y ago
TypeScript and Java are the two remaining languages where I feel I know them well enough to translate 3k lines of code in a weekend each -- I have approximately zero knowledge of Ruby though, and no motivation to learn it ^^; Pull requests
281.
▲
by
Shish2k
4y ago
Yeah, I really like zig’s approach to bitfields, everything Just Works with no faffing about with bit-shifting and OR/AND'ing. I forget the exact reason I used separate bools for rust, but I remember spending a day trying to do so
282.
▲
by
Shish2k
4y ago
Thanks! Added to the list, it’s suspiciously only a little bit faster than CPython 3.11 though, which probably needs more investigation… ED> Looks like CPython prefers using a dict as a lookup table for opcodes (which is what this implem
283.
▲
by
Shish2k
4y ago
It would be if I ran into it regularly -- but after using the language for a variety of professional and personal projects for a couple of years, this is the only time I’ve actually needed to manually-specify lifetimes since the compiler no
284.
▲
by
Shish2k
4y ago
Updating nim’s compiler flags, seems to be ~4x faster now :D nim: Emulated 600 frames in 0.44s (1367fps) Do you happen to know the right flags for release-mode Go? Last time I checked (admittedly years ago) I thought they just had
285.
▲
by
Shish2k
4y ago
FWIW I personally found Rust the least-painful language, but that may well be confirming my pre-established biases :) - With Zig I kept running into compiler bugs, plus no package manager (I’ve vendored SDL and Clap into the source tree) -
286.
▲
by
Shish2k
4y ago
Apparently not :( (These benchmarks were done on an M1 MacBook Pro) $ brew install pypy3 pypy3: The x86_64 architecture is required for this software.
287.
▲
by
Shish2k
4y ago
Yeah, all these benchmarks are measured in headless mode - all the calculations of what should be on-screen are done, and pixels are written into a buffer ready to be displayed, but the Window is never opened and the buffer isn’t blitted.
288.
▲
by
Shish2k
4y ago
Yeah, I’m really not sure how it managed that. I am slightly suspicious, because while I was working on the zig version I spent more time running into compiler bugs[1] than writing my code, and so there’s a chance that it’s running so f
289.
▲
by
Shish2k
4y ago
Checking for my own “benchmark”, a gameboy emulator in several different languages[0]; it’s CPU-bound but across ~3k lines of code, so slightly more representative of real-world apps than a single-function tight-loop microbenchmark:
290.
▲
by
Shish2k
4y ago
Aside from all the patent nonsense, what is even up with that naming? “Advanced" -> "High Efficiency" -> “Versatile" is nearly as bad as USB marketing… Can we not just stick to h264 -> h265 -> h266?
291.
▲
by
Shish2k
4y ago
> I'm astonished at the chutzpah of this move. Reaching into an app and taxing transactions between the developer and the user that have nothing to do with the App Store. This isn’t really new, Apple have been doing this with nearly
292.
▲
by
Shish2k
4y ago
Not on iOS they can’t - iOS _requires_ developers to go through all the hassle, fees, and taxes of creating an App-Store App if they want to use what every other platform considers a “standard web browser feature"
293.
▲
by
Shish2k
4y ago
> Safari Technology Preview is ahead My userbase isn’t using Safari Technology Preview, they’re using Safari > the most anticipated web feature I’m curious how you measured this - I have yet to be interested in :has(), but I am very i
294.
▲
by
Shish2k
4y ago
Now that you mention it, I wonder if there’s any correlation between the startup-mindset (believing that success comes from hard work more than good luck), and the conspiracy-mindset (believing that disaster comes from hard work more than b
295.
▲
by
Shish2k
4y ago
Now I wonder if copyright for source-code should have its own “satire” exception...
296.
▲
by
Shish2k
4y ago
What lines of business don’t require customers being able to find you?
297.
▲
by
Shish2k
4y ago
> a decent company will […] Having worked for a bunch of decent companies in the past, the only consistent pattern I’ve seen is “A decent company will be put out of business by a similar but more-willing-to-cut-corners company”. Thanks,
298.
▲
by
Shish2k
4y ago
> easier to live, do outdoors pursuits, grow food, use less resources (for heating) Have you seen… the desert?
299.
▲
by
Shish2k
4y ago
Using ethernet-over-powerlines within my house, different circuits within the same building have trouble talking to each other, so I wouldn’t recommend that for cross-building communications...
300.
▲
by
Shish2k
4y ago
> They're also multithreaded by default, the reporting is OK, doctests of doc-comments are on and enabled by default A caveat here - doctests end up compiled into a separate binary for every test. I tried turning my unit tests into
More ›