Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrisseaton
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
chrisseaton
4y ago
Don’t you think the Swiss out more into Horizon than they got out?
92.
▲
by
chrisseaton
4y ago
Yeah but why turn the screw with Horizon? The Swiss input far more into Horizon than they got out - more damaging to the EU than the Swiss - should have turned another screw.
93.
▲
by
chrisseaton
4y ago
They’re not anywhere near where the Swiss universities are if you look at the rankings.
94.
▲
by
chrisseaton
4y ago
> This has e.g. happened with the Horizon Europe research program which Switzerland is no longer part of. That’s so self-destructive - surely the EU needs Switzerland’s powerful universities more than Switzerland needs Horizon?
95.
▲
by
chrisseaton
4y ago
What do you think is happening when you use set with a float on a map? How do you explain this? const map = new Map(); map.set(1, 3); map.get(1); // 3 map.set(1.2, 3.4); map.get(1.2); // 3.4 typ
96.
▲
by
chrisseaton
4y ago
They have a job. Redundancy is taking their job away. There's a recession.
97.
▲
by
chrisseaton
4y ago
> In Denmark it's illegal to resell tickets above the original price. This is the foundation of the entire of retail and investment. Why should it be banned?
98.
▲
by
chrisseaton
4y ago
> Who cares if you’re redundant? People need money to eat.
99.
▲
by
chrisseaton
4y ago
I don't know - I think that proves what I said - map keys can be floats.
100.
▲
by
chrisseaton
4y ago
Square brackets were a typo - I didn't run it I just wrote it off the top of my head. Doesn't your correct prove what I said though?
101.
▲
by
chrisseaton
4y ago
Yes the square brackets were just a typo. But maps do support float keys - you can try it yourself! map = new Map(); map.set(1.2, 3.4); log(typeof(map.keys().next().value)); That says the key is a number, and it's a floating
102.
▲
by
chrisseaton
4y ago
Right - should be using set and get - was written out without running it. But isn't this still a map that has float and integer keys? Why doesn't it count?
103.
▲
by
chrisseaton
4y ago
> ECMAScript does not have maps where keys can be integers and neither can keys be floats. map = new Map(); map[1] = 3; map[1]; // 3 map[1.2] = 3.4; map[1.2]; // 3.4 typeof(map.keys().next().value); 
104.
▲
by
chrisseaton
4y ago
JavaScript conceptually only has floats (ignoring big integers, which isn't what most people use for numbers), so any map of numbers to values is using a float key. You refer to that, but yeah they're all floats. > it's ge
105.
▲
by
chrisseaton
4y ago
Sorry, three digits I mean. > The number of colors defines the color depth. Yes, and they have selected these 12 colours out of a range of 4096 colours, so from a range with a colour-depth of 12-bits. If they picked from the millions of
106.
▲
by
chrisseaton
4y ago
It's done all the time in JavaScript. Why not in Java?
107.
▲
by
chrisseaton
4y ago
No, read it again more carefully. They’ve selected colours from the subset of RGB that is representable with 12-bits. > The palette uses a 12-bit colour depth, so each colour requires only four characters when specified as a hexadecimal
108.
▲
by
chrisseaton
4y ago
You’re misunderstanding - they mean they’ve chosen colours from a 12-bit subset of RGB.
109.
▲
by
chrisseaton
4y ago
…because the discussion is about working people being able to access things? It’s not relevant for people who can pay anything. I think you’re deliberately being confused.
110.
▲
by
chrisseaton
4y ago
Because not getting to go to see Taylor Swift isn't a 'problem'. Just like not having a diamond isn't a 'problem'. Not being able to access water or not having a way to communicate with your community is a 
111.
▲
by
chrisseaton
4y ago
I could cover the entire of her latest album and sell copies? I didn't think copyright allowed for that without permission but maybe I don't know copyright like I thought I did.
112.
▲
by
chrisseaton
4y ago
No lots of working class people save up to go to concerts, or prioritise it over other spending I'm sure.
113.
▲
by
chrisseaton
4y ago
Unreasonable thought experiment - Taylor Swift has a monopoly on her music catalogue. If we removed that monopoly and allowed others to perform and sell it, it'd reduce costs for working people.
114.
▲
by
chrisseaton
4y ago
The artist's part of the ticket prices already makes them a luxury even if you removed Ticketmaster. If people have some kind of human right to see live music why aren't her tickets cheaper in the first place?
115.
▲
by
chrisseaton
4y ago
> But all the people got out. Two people died.
116.
▲
by
chrisseaton
4y ago
Going to a concert is a pure luxury. It's like getting excited that Champagne is too expensive - not really a working person's problem, and I'm not sure pure luxuries need government intervention in the same way as communicat
117.
▲
by
chrisseaton
4y ago
Seems likely they served the very best they could produce? And most people thought they were still not something that could be served in a restaurant.
118.
▲
by
chrisseaton
4y ago
> some even deeming them “restaurant quality.” Counter point - most people didn't think they met the quality bar to serve in a restaurant, which is worrying.
119.
▲
by
chrisseaton
4y ago
I would have absolutely no idea how anyone could try to synthesise anything as complex and subtle as an oyster, so I'm interested to hear about it.
120.
▲
by
chrisseaton
4y ago
Many people object to eating or using any animal products at all as a red-line on ethical grounds - that can't be news to you?
More ›