Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
varelaz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
varelaz
5y ago
Developers are getting too spoiled. Did someone do the same research for teachers for example.
32.
▲
by
varelaz
6y ago
A lot of comments there about puppeteer or selenium. For home needs I found Chrome extension much more useful. Puppeteer and Chrome debug protocol in general is more complex and restirected comparing to Chrome extension.
33.
▲
by
varelaz
6y ago
Thanks for opening new way to work with public data and discover it. I have several ideas regarding this. I used public free APIs and the worst thing with them that they are all unreliable. Unrelaible on conditions, limits and usually don&#
34.
▲
by
varelaz
6y ago
I'm not talking about free soft at all, it's completelly separate universe. If you choose paid soft: as for me, if you steal it you are at risk. Also you can always setup firewall and block certain type of requests. Sometimes you
35.
▲
by
varelaz
6y ago
Viruses & malware is the price of software piracy. If you don't have money to pay for the soft, you need to be ready to be infected with all possible consequences. It was obvious decades ago when piracy become a business. I underst
36.
▲
by
varelaz
6y ago
I know that JetBrains are using Java Swing for their IDEs and they look pretty native on OS X and Windows
37.
▲
by
varelaz
6y ago
Sure you can, but QT will not be responsible for compatibility of your binaries, and I for example would not use yours, instead I'll try use some official biniries from Canonical for example even older ones.
38.
▲
by
varelaz
6y ago
In most cases alternative is a web product. I hardly install new soft, only if reason is very strong.
39.
▲
by
varelaz
6y ago
I don't mind about knowing limitations. I'm saying that these optimizations usually are very hard tradeoffs and opposite side of it – code readability, speed of developer work, ability to maintain it working. I tried Cython and Py
40.
▲
by
varelaz
6y ago
I really sick of such kind of benchmarks. I never have seen a real world python program that doesn't depend on any IO or doesn't have some C code behind wrapped calls. If your code is heavy with computations there are numpy/s
41.
▲
by
varelaz
6y ago
It's fairly easy to implement goto using exceptions. At least it will be all pythonic (I don't think it will become less ugly). So I don't know why this implementation has to be considered at all. How to do this: create your
42.
▲
by
varelaz
6y ago
Problem here is not about negation, but there is no product that's described as "shirt without stripes". Stripes and shirt will come together in a different sense, since Google cannot find whole phrase it has to find parts. F
43.
▲
by
varelaz
7y ago
If you're so concerned about GDPR, probably hotjar is a good choice. It's free for personal use and it's all EU based.
44.
▲
by
varelaz
7y ago
TLDR: With 17 digits meeting password is not needed at all. If meeting will be 17 numbers it will be the same as to protect 11 length digit number with 6 digit password. So basically that's the trade off. One could say that password is
45.
▲
by
varelaz
7y ago
That just makes things harder for those who wants this information. Still you can fingerprint browser by features and API support, but it requires javascript now and up to date library with recent features support check. I mean that it does
46.
▲
by
varelaz
7y ago
So Google found good way to fingerprint users without user agent and found that a lot of user agents are forged and this stopped working anyway. It's time to switch to API support forging.
47.
▲
by
varelaz
7y ago
Could it be that Google is biased? Why everything is biased when compared to Google?
48.
▲
by
varelaz
7y ago
I hope that will not hurt them. Imagine that in copyright lawsuite I refered to their midi archive as a source and since that they become in charge for copyright infringement.
49.
▲
by
varelaz
7y ago
It does but only on whole document. Problem that by default it allows everything, people are lazy to find how it works and setup it right. Also you need to open every third party separatelly which could work bad for ads. If there will be a
50.
▲
by
varelaz
7y ago
Problem with escaping that you need to know what you escape for, escaping is needed for almost everywhere (SQL, URL encoding, HTML, JSON, YAML) and double escaping could break the content.
51.
▲
by
varelaz
7y ago
As for XSS I think browsers could have done more to fix this. For example add some tag like <unsafe> or <sandbox> for part of HTML that cannot have access to cookies and javascript on the page and disables any active components,
52.
▲
by
varelaz
7y ago
We had recent migration from AWS to Hetzner. We used combined clusters with ondemand + spot instances. After migration to Hetzner we doubled capacity and still saved around half. AWS is very good for flexible work loads, but if load and pro
53.
▲
by
varelaz
7y ago
Well I don't think that using spot instances is a very good thing to consider there. 1) What if all of them go down would it make application unusable? I recall one or two weeks on AWS when all spots were down because of capacity probl
54.
▲
by
varelaz
7y ago
I understand why people like Sci-Hub, but basically it will not exist without work of journals that they scrape. If it will consist of unvalidated papers that everyone can submit it will be far less usable, it will be bloated with false res
55.
▲
by
varelaz
7y ago
A lot of them worked that way or similar in Python 2 and basically they are not a bugs, but optimization or just language design decision.
56.
▲
by
varelaz
7y ago
There is nothing bad in general with list comprehension there. Problem is lambda which uses variable from outer scope. In Python, comparing to JS, using variables from outer scope is not so common. I prefer more obvious constructions and in
57.
▲
by
varelaz
7y ago
Probably the best collection/explanation of edge cases which are not a bug and supposed to work that way by design that I ever have seen for Python. (it's my pramary language for almost 10 years).
58.
▲
by
varelaz
7y ago
It does. For example Firefox made some features as API and declared interfaces, while Chrome didn't and left it as internal functions, which you cannot rely on, you cannot be sure that interface won't change.
59.
▲
by
varelaz
7y ago
I wouldn't link this with nginx pursue. Rambler is very big company (something like Yahoo in Russian) and in this case claim looks reasonable. Off course amount looks shocking high, but as it was mentioned it's maximum possible an
60.
▲
by
varelaz
7y ago
Well, if you have seen the video, probably you wouldn't ask this. Kernel modules can do everything that can BPF do, but BPF could be easier to write, more isolated and less error prone.
More ›