Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
butlerm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
butlerm
4y ago
I wouldn't consider that a parsing vulnerability - XML is relatively easy to parse - but rather an XML processing vulnerability, as in you must disable certain features (like arbitrary filesystem access) when processing an untrusted do
92.
▲
by
butlerm
4y ago
HTML was invented in 1993, which is not that much further back. GML was invented in 1969, and SGML in 1986. I guess you could say that HTML resembles GML quite a bit with the addition of angle brackets and urls. XML on the other hand is bas
93.
▲
by
butlerm
4y ago
That almost certainly refers to rewarding non-strikers relative to strikers after the strike has been resolved. It is not against the law to cease paying wages and providing benefits to strikers while the strike is in progress. Of course w
94.
▲
by
butlerm
4y ago
It depends on the style of application. For most line of business applications the data on the client side is potentially out of date as soon as it requested, and as a consequence very little can be done on the client side except arrange or
95.
▲
by
butlerm
4y ago
> Does it though? Loading a webpage barely registers in cpu usage etc on a reasonably modern device. CPU usage is not the problem. In most cases the problem is latency including the network latency to issue and return a substantial numb
96.
▲
by
butlerm
4y ago
Loop unrolling for loops that have a static or range bounded number of iterations is a good example. Others include constant expression evaluation, dead code elimination, common subexpression elimination, and static function inlining.
97.
▲
by
butlerm
4y ago
Yes, that is what I intended to say (in the first sentence), thanks for explaining it better than I did.
98.
▲
by
butlerm
4y ago
At the system level (not the abstract virtual machine in the current specification) it is reliably known whether a null pointer dereference will return a specified value (such as zeroes), unspecified values (semi-random data), or a result i
99.
▲
by
butlerm
4y ago
There are many optimizations that a compiler can perform without relying on the optimization level to determine how to pervert your program that day. If different optimization levels produce different results that is bad thing, something t
100.
▲
by
butlerm
4y ago
I disagree that it is completely unpredictable. If it is a read operation, dereferencing an invalid pointer on every normal system will either return data with an unspecified value or will raise a low level exception that may be caught. Sin
101.
▲
by
butlerm
4y ago
The problem is that dereferencing a null pointer does not actually have undefined semantics, it has system defined semantics. The compiler should compile source code in such a way as to produce machine code that does whatever that system do
102.
▲
by
butlerm
4y ago
I think you are failing to distinguish between 'is' and 'ought' here.
103.
▲
by
butlerm
4y ago
I am pretty sure it is illegal. It is the donor that may claim the tax deduction, if any. The retailer may not claim it merely by being a conduit for donated funds.
104.
▲
by
butlerm
4y ago
Network formats (at least the popular ones) typically transmit in "network byte order", i.e most significant byte first. There are advantages in being able to read a hex dump without manually reversing the bytes in your head for
105.
▲
by
butlerm
4y ago
In the mid-late 1980s we compiled and tested Amiga software on the Amiga entirely from RAM drives using rather expensive 2 MB RAM add ons, and then stored the updated source code on 3.5" floppy disks that had to be rotated out regularl
106.
▲
by
butlerm
4y ago
> The budget resolution is a planning framework for the appropriations bills that make up the budget. It is not a “budget”. Guess what the President's budget proposal says on the cover? "Budget of the U.S. Government, Fiscal Ye
107.
▲
by
butlerm
4y ago
Trump was not President at the time of the Liz Cheney leadership controversy, that was after he was out of office. Trump is not President anymore and no one should pretend that he is.
108.
▲
by
butlerm
4y ago
> budget bills, like other bills, have the force of law once passed First of all congress generally does not pass budget bills, they pass budget resolutions, and congressional resolutions are not submitted to the president for his signat
109.
▲
by
butlerm
4y ago
In congressional nomenclature however a budget is a guideline for appropriations bills, not something that carries the force of law. And Congress is quite specific about what it appropriates money for, even if it does it all in a several th
110.
▲
by
butlerm
4y ago
There is no US federal budget - not a binding one at any rate. The president recommends and Congress passes budgets for internal purposes, but they do not carry the force of law. The numbers that matter are how much Congress appropriates,
111.
▲
by
butlerm
4y ago
A budget from the executive branch is just a recommendation. Congress might use use it as a starting point, if they bother to pass a budget at all, which they are not in the habit of doing lately unfortunately. As far as Cheney is concerned
112.
▲
by
butlerm
4y ago
> How many Linux technologies have not been able to surpass their counterpart technologies after years of iterating? Two are top of mind: epoll and btrfs. Apples and oranges. No one is required to use btrfs, it is one of many options fo
113.
▲
by
butlerm
4y ago
Presumably you can set LC_ALL=C.UTF-8 in most environments to deal with that problem.
114.
▲
by
butlerm
4y ago
As they say, the plural of anecdote is not data, and here we don't even have a plural.
115.
▲
by
butlerm
4y ago
Not sure what they are doing, but that web page is incredibly sluggish and requires an incredible amount of time to render and scroll for such a simple layout.
116.
▲
by
butlerm
4y ago
It is always convenient for businesses to have the legislature enforce their preferred contract conditions in statutory law, but this particular statute sounds like it is unenforceable.
117.
▲
by
butlerm
4y ago
Like I said there are a handful of well known exceptions. Alcohol is perhaps the best known, gambling is another one. A handful of subjects that the church cares about institutionally out of the universe of legislation is hardly enough to
118.
▲
by
butlerm
4y ago
Geneva Steel in Utah County was constructed for World War II steel production, but fortunately has been closed and its site remediated for a couple of decades now.
119.
▲
by
butlerm
4y ago
Yes, the pumps were built in the late 1980s and are still maintained, but have never been used for much of anything since then. I believe they ran for about two years. Also, the western edge of the lake (where the pumps are) is still about
120.
▲
by
butlerm
4y ago
You could hardly make a less informed statement than to compare Utah to a theocracy. The LDS church is influential, but as an organization neither cares about nor has a position about nor preaches to its members about the vast majority of
More ›