Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
togusa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
togusa
11y ago
Windows comes with powershell ISE which TBH shits on everything. No one seems to know it exists though.
32.
▲
by
togusa
11y ago
People moan about XML readability somehow forget that it uses approximately the same syntax as HTML. Imagine HTML in JSON. Nope...
33.
▲
by
togusa
11y ago
JSON doesn't define the number format or precision which is a major issue. It's not IEEE754, its a string of digits. What you have done is prove the point that it's implementation specific, in this case JavaScript. You'r
34.
▲
by
togusa
11y ago
Yep exactly. I saw one pile into the side of a bus stop going flat out. Smashed the glass. That's a nuisance.
35.
▲
by
togusa
11y ago
That's not the problem I'm outlining. It is that semantics around type handling are implied rather than specified by schema.
36.
▲
by
togusa
11y ago
I know. This was intentional and I'm glad someone noticed it finally. Run it through JSON lint ( http://jsonlint.com/ ), then fix the error (unquoted number text), then run it again and watch the data loss occur due to
37.
▲
by
togusa
11y ago
The thing with XML is it's actually much lower level. There are no types inferred by an XML document. It's literally just chunks of data. JSON defines strings, boolean, maps, arrays, numbers. It's conceptually easier to think
38.
▲
by
togusa
11y ago
See: https://news.ycombinator.com/item?id=10385610
39.
▲
by
togusa
11y ago
Well in this case, JSON schema doesn't specify any more fundamental types other than "number". On the receiving end of a wire or network contract, how do we pick a storage type for "number"? We can't because th
40.
▲
by
togusa
11y ago
Enterprise here. We like XML because it's explicit. { number: 1.0000000000000000000000000000001 } Try parsing the above JSON consistently in several languages without a consistent schema definition.
41.
▲
by
togusa
11y ago
WebP anyone?
42.
▲
by
togusa
11y ago
Bought a new desk and the cable was too short.
43.
▲
by
togusa
11y ago
Same with cheap cherry G83s for me. I widlarize mine though :)
44.
▲
by
togusa
11y ago
Yep. I actually had the last magic mouse and it nips your fingers on the sides as well.
45.
▲
by
togusa
11y ago
They have a shelf life too. Lose 10-20% of capacity a year just sitting there.
46.
▲
by
togusa
11y ago
Seriously a Logitech wireless mouse costs £8 here in the UK at the moment. It takes one AA battery a year for me and lasts about 3-4 years before the buttons stop working. So not the entire industry. As a side note I have a working Microsof
47.
▲
by
togusa
11y ago
Ouch! As a comparison point paid £7.99 for my Logitech wireless mouse from Curry's. There's not that much extra value in it.
48.
▲
by
togusa
11y ago
Most of Microsoft's MSDN web site falls over with the same problem as well.
49.
▲
by
togusa
11y ago
Just some technical info in this if anyone trips over this thread, consider the following diagram of a voltage divider: http://pcbheaven.com/wikipages/images/voltagedivider_1235725... The Rload and R2 are parallel
50.
▲
by
togusa
11y ago
Yep. I work in finance and have seen inference engines used to work out investment goals. It doesn't take much to turn those into tax goals :) There is a ton of money in writing something that does this.
51.
▲
by
togusa
11y ago
This. New switch mode ones are crappy, really crappy! I have a stash of old linear ones that aren't fortunately. Worth their weight in gold.
52.
▲
by
togusa
11y ago
I bought 5 Arduino Uno R3 clones for $2.39 a piece off AliExpress and they were pretty good apart from shitty soldering on the headers. They fill the "can't be bothered to read the 500 page long datasheet" niche for me nicely
53.
▲
by
togusa
11y ago
If you've got a breadboard, just grab one of these and plug it into it. http://www.aliexpress.com/item/MB102-Breadboard-Power-Supply...
54.
▲
by
togusa
11y ago
Soon: tax consultants using artificial intelligence to battle tax anti-tax invasion artificial intelligence leading to a new arms race...
55.
▲
by
togusa
11y ago
Yep. All my keep notes just disappeared off my company phone as well.
56.
▲
by
togusa
11y ago
An anecdote: I know someone who works for a small engineering company. They bought a ~$3000 one and used it perhaps a couple of times. 3d printing is still at the "early inkjet" phase of hassle. It's sometimes easier for a gu
57.
▲
by
togusa
11y ago
I'm in the UK. It's no better here or in Europe.
58.
▲
by
togusa
11y ago
I wouldn't use it as a safety net myself these days, just a dice roll. Good question. After working in insurance and finance for about 15 years, not those two sectors for sure.
59.
▲
by
togusa
11y ago
To be fair NT4 had a better service management story in 1996.
60.
▲
by
togusa
11y ago
Exactly this. I've worked with insurers and the first step to any claim is working out the cost of fighting the claim versus paying up. I wrote part of the system for managing estimates. You're only going to win easily if the clai
More ›