Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
571.
▲
by
ptx
3y ago
TL;DR: They used an iframe for the content. But this brings with it the navigation issues that were the reason we abandoned frames: The URL in location bar no longer reflects the location of the specific page, so it can't be bookmarked
572.
▲
by
ptx
3y ago
OK, so you're saying that Open Source is "not the same thing" as Free Software and there was a "need to create a new definition for it" to include "stuff that did not fit the Free Software definition". You
573.
▲
by
ptx
3y ago
What does this mean? Did the PDF standard include all of PostScript as part of it (I thought PDF was more like a subset?) or did it allow (but no longer allows) embedding PostScript objects?
574.
▲
by
ptx
3y ago
The person this seems to be referring to, according to info in the article posted in a sibling comment and a Time article [0] about the 2014 hack, is Jason Spaltro, executive director of information security. An interesting piece of info in
575.
▲
by
ptx
3y ago
Such as what stuff? Draw a diagram if you prefer, but a few examples of these nefarious non-free licenses promoted by the OSI would be sufficient.
576.
▲
by
ptx
3y ago
Out of context? I provided plenty of context if you care to follow the links I posted. The distinction between copyleft and non-copyleft licenses, e.g. GPL and BSD, is different from the distinction between open source and free software, wh
577.
▲
by
ptx
3y ago
Yes, basically a marketing campaign. Wikipedia [0] says (in part): "Netscape's act prompted Raymond and others to look into how to bring free software principles and benefits to the commercial-software industry. They concluded tha
578.
▲
by
ptx
3y ago
Making the user manually escape parameters (and be very careful not to miss any) seems at odds with the goals of ease of use and maintainability. Most template libraries do this automatically by default.
579.
▲
by
ptx
3y ago
No, not really. The first three criteria of the Open Source Definition [0] are essentially freedoms 1–3 of the Free Software Definition [1] and freedom 0 more or less maps to criteria 5 and 6. The mainstream FOSS licenses (GPL, BSD, Apache2
580.
▲
by
ptx
3y ago
Well, sort of. Open source was just a different name to describe free software, with the purpose of emphasizing the collaboration benefits this gives the business rather than the freedom it gives users. But this "business source"
581.
▲
by
ptx
3y ago
This piece of advice (some claim) originates in FORTRAN [0], where apparently a function could be entered in multiple places and return to multiple places. Most other languages don't support these features in the first place, so the ru
582.
▲
by
ptx
3y ago
One serious problem not mentioned in the article is the feature that looks for magic strings in the output and treats them as special commands [0], meaning that you can't safely output anything that's not completely trusted or car
583.
▲
by
ptx
3y ago
> this tunnel can be triggered from the cmdline with the portable version of code.exe. An attacker just has to upload the binary If the attacker can run commands and upload binaries, it really doesn't matter what VS Code does. The
584.
▲
by
ptx
3y ago
The data is not likely to be truly anonymous in practice. Making sure it's truly anonymous takes more work and makes it less useful than not-quite-anonymous, so there's no incentive to do a good job of it. Instead you end up with
585.
▲
by
ptx
3y ago
In the soccer scenario, as you say, the only choice to make is whether to participate. Whether to get hit by the ball can't be chosen independently. So the only opting you can do is playing (and getting hit) or not playing (and not get
586.
▲
by
ptx
3y ago
"Opt" means to "To choose; select" [0]. If you opt in (i.e. make the choice to go in), that implies that you were not already in. In other words, it implies that the default (when you don't make a choice) is "o
587.
▲
by
ptx
3y ago
> On the other hand, while Linux is developed by various for-profit companies, the code is owned by the Linux Foundation. This is incorrect. Linux does not require copyright assignment. The documentation [0] says: "Copyright assig
588.
▲
by
ptx
3y ago
A new dependency resolver was introduced [0] with pip 20.3 (in 2020) which sounds like it's meant to address the problem you're describing. Were you using an earlier version of pip or is this still a problem? [0] https:/
589.
▲
by
ptx
3y ago
Mozilla's wiki [1] says Firefox has shipped more than 20 components implemented in Rust and has several more currently in progress. That sounds like tangible results. The first component they implemented in Rust, I think, was the MP4 p
590.
▲
by
ptx
3y ago
SourceSafe apparently had integration with the VBA editor in Office 2000 [1]. I've never used it, but it seems like it would have been handy when I had to work in VBA. [1] https://learn.microsoft.com/en-us/previous
591.
▲
by
ptx
3y ago
> For example you can't do `foo = (yield a).b` you have to do `x = yield a; foo = x.b`. The first snippet actually works fine. Yield expressions were introduced with PEP 342 in Python 2.5.
592.
▲
by
ptx
3y ago
With this merged attribute syntax, since each key-value combination is a separate symbol and since symbols are interned, doesn't this mean that all the attribute values (and not just the keys) end up interned? Do Lisp implementations u
593.
▲
Compose Multiplatform 1.5.0 Release
(blog.jetbrains.com)
3 points
by
ptx
3y ago
|
0 comments
594.
▲
by
ptx
3y ago
It's easier than Java, though, where you have string.length(), array.length and list.size(). In Python it's always len(whatever). But maybe Ruby wins this one if it's consistent in its method naming.
595.
▲
by
ptx
3y ago
> print f"are you {sure} you need parenthesis to call a function in python" This example doesn't call any functions. The print statement was removed in Python 3 and turned into a function, so you do need parentheses to c
596.
▲
by
ptx
3y ago
> small and fast compiler Go's compiler is famously fast, isn't it? I don't know about small, but that only seems relevant if you're working on the compiler itself. > "4 ways to manage memory" People
597.
▲
by
ptx
3y ago
With a distro we're trusting a single trustworthy source for all the software, whereas with package managers for most programming languages we're trusting hundreds of individual developers, any one of which can suddenly decide to
598.
▲
by
ptx
3y ago
> in the new logic, you can’t soundly argue that “all dogs are mammals; all mammals have fur; therefore, all dogs have fur” because one person shaving their dog suddenly makes “all mammals have fur” untrue. Isn't this just a probl
599.
▲
by
ptx
3y ago
Does that work, though? If you're talking about a set of kings, then the set can be empty. But "the king" – isn't that more like Kotlin's single() method, which throws an exception if the number of elements is not
600.
▲
by
ptx
3y ago
Shouldn't this question fail at the parsing stage then, before it has even been asked? Q: All stonemen are ... A: ERROR: Undefined operation. Stonemen do not exist.
More ›