Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
csande17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
421.
▲
by
csande17
4y ago
100% agreed. The things a static site generator does are typically very simple: load some Markdown into memory, run it through some HTML templates, and maybe scale some pictures with ImageMagick if you're feeling especially fancy. Writ
422.
▲
by
csande17
4y ago
Yes, this is a special case that Python implements for binary operators. When evaluating "a + b", if a.__add__(b) doesn't work, it'll try b.__radd__(a). See https://docs.python.org/3/reference/d
423.
▲
by
csande17
4y ago
Looks like it's an SVG filter using <feTurbulence> and <feDisplacementMap>, similar to the example on https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feT...
424.
▲
by
csande17
4y ago
Four-part plan is this: 1. For each application and library in the system, maintain a copy of the source code and the scripts necessary to rebuild it. 2. Keep track of the dependency tree of each application and library in the system. 3. If
425.
▲
by
csande17
4y ago
The argument that you seem to be making is that under dynamic linking, there is never any reason to need to recompile an application, and thus the fact that static linking forces you to recompile applications makes it non-viable from a secu
426.
▲
by
csande17
4y ago
What's your plan if fixing a vulnerability requires changing the size of a struct?
427.
▲
by
csande17
4y ago
Before you decry statically linked systems as "perpetually vulnerable", I'd advise you take a look at the number of privilege escalation vulnerabilities caused by LD_PRELOAD alone.
428.
▲
by
csande17
4y ago
> Do you disallow function pointers/closures/virtual methods too [...] Maybe? Of these features, AFAIK Zig only has function pointers, and they already don't seem to interact very well with other parts of the language. I w
429.
▲
by
csande17
4y ago
Zig basically does plan to disallow recursion : https://github.com/ziglang/zig/issues/1006#issuecomment-5346... More specifically, it'll force you to allocate memory for your recursive functions on the
430.
▲
by
csande17
4y ago
As a native speaker of Reddit English, "LET'S GOOOOO" is a slang expression that means "yay". People who write it are usually not literally suggesting that the reader go somewhere or do something.
431.
▲
by
csande17
4y ago
I'd imagine they're basing their conclusions of off telemetry data from Ubuntu and Fedora. After all, Linux is just like Firefox: everyone who uses it absolutely loves sharing information about themselves with corporations! Teleme
432.
▲
by
csande17
4y ago
I have done iPhone development, and I can say with confidence that it is less work to take an iOS 17 app and update it to iOS 18 than it is to take nothing and create an iOS 18 app from scratch. You still need a non-zero number of people wh
433.
▲
by
csande17
4y ago
An underappreciated aspect of computer programming is that maintaining a program often requires less work than writing it in the first place. Once you finish writing the iPhone app, you've finished writing the iPhone app , and you can
434.
▲
by
csande17
4y ago
Don't forget the Korean Ministry of the Interior, who are apparently using a two-line Markdown file as their website and a random Gmail address as their only method of contact. For an identity verification standard, you'd think th
435.
▲
by
csande17
4y ago
One benefit of adopting a 1,500-year-old code of ethics is that it's probably not going to suddenly change on you.
436.
▲
by
csande17
4y ago
> I wonder, what about this makes a native code compiler difficult, is it because most programs protect against this sort of behaviors? or that programs are stored in read-only memory? Say you're trying to "translate" a Ux
437.
▲
by
csande17
4y ago
I am not very familiar with Uxn, but the one thing from the article that struck me as an actual problem was that the memory containing the program's code can be modified at runtime. The downsides of that can heavily outweigh the benefi
438.
▲
by
csande17
4y ago
> Are you positing that there are loads of healthier jobs or healthier ways to do office work (without foregoing the actual productivity)? Bold of you to assume office work involves "productivity".
439.
▲
by
csande17
4y ago
> Fashion must change for the sake of change. To more easily support these frequent changes, more libraries get invented to make doing new things easier. The frontend "ecosystem" libraries discussed in the article are also su
440.
▲
by
csande17
4y ago
I'm not the original commentor, but I tracked this claim back to the reporting of a paper by Steve Pomeroy, who tracked the number of housing units with rent under $750 CAD a month between 2011 and 2016. So I expect the answer to you
441.
▲
by
csande17
4y ago
If you're writing a sorting algorithm or a hash table implementation or something, then the spec is meaningfully different from the code. The spec says "the output array is sorted", the program describes some particular strat
442.
▲
by
csande17
4y ago
As the article mentions, formal verification techniques are primarily used today for two things: - Creating secure "core" code -- library functions and kernels and stuff, where the things they're supposed to do are very well-
443.
▲
by
csande17
4y ago
The author of this page seems to have just added a bunch of company logos to the "Supporters" section at random, with no indication that those companies actually support this or are planning to remove IPv4 support on February 1st,
444.
▲
by
csande17
4y ago
If you don't think you pay for Hacker News with your data, try deleting an old comment.
445.
▲
by
csande17
4y ago
Most of these results appear to be describing homes struck by bullets from gun ranges, so at the very least you should avoid living in the line of fire of a gun range. If, say, a neighbor did try to stop a robbery by shooting at the perpetr
446.
▲
by
csande17
4y ago
> For example gender targeting at 42%? That means they somehow did 8% worse than random chance. This is a lot more plausible than you might think. Simply build a machine-learning model that is accurate 58% of the time (maybe because it t
447.
▲
by
csande17
4y ago
Because being an effective individual contributor and being an effective manager require different skills? Because the goal of a software company is at least nominally to produce software, and paying people who are good at producing softwar
448.
▲
by
csande17
4y ago
> Does that mean I don't deserve to have the bargaining power for the best deal for myself? No, I do not believe you are entitled to a wealth transfer from people who are better at your job than you are. (Or, to put it another way,
449.
▲
by
csande17
4y ago
If you can become an enemy of the union simply by being good at your individual-contributor job, maybe that's why unions haven't really taken off in software engineering.
450.
▲
by
csande17
4y ago
It's more like joining a class action settlement.
More ›