Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skarap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
skarap
11y ago
One of the biggest selling points of EC2 (at least for me) is that you get a real VM with a real kernel and userspace, and not some "user-friendly" thing the provider made with loads of alien services running as root. So EC2 can&#
92.
▲
by
skarap
11y ago
What is more important - the existence of SSH private keys on the EC2 instances us unlikely... There is chance there are SSH private keys there, but they would most probably be SSH deploy keys for some private repo (configuration manageme
93.
▲
by
skarap
11y ago
This topic has been beat to death. I guess there are more articles explaining metaclasses then people who understand them. There are 11K results for /understanding python metaclasses/ in google.
94.
▲
by
skarap
11y ago
This is a gem: "Harassing photography or recording, including logging online activity for harassment purposes"
95.
▲
by
skarap
11y ago
But it's not the only possible way to violate someone's personal space (or be creepy) in an internet discussion. You could say "Last night had this strange dream where you were being eaten by lion" or "I think I
96.
▲
by
skarap
11y ago
> In an employment environment, that is clearcut sexual harassment. I'll never understanf this stuff. In fact I don't even understand how hugging and giving people real backrubs is sexual harassment, let alone mentioning it i
97.
▲
by
skarap
11y ago
> Really - the only thing you need to remember is - be nice to each other and be patient with those supplying advice and those who are asking for advice. Or even simpler - don't be an ass/jerk. I guess it's just hard to de
98.
▲
by
skarap
11y ago
IIRC there was a bug with early versions of compiz where you could hold Alt and drag the screensaver away. Can't find a link though.
99.
▲
by
skarap
11y ago
> the officer has probable cause to believe.. https://www.youtube.com/watch?v=Nt6kKhlX8vU
100.
▲
by
skarap
11y ago
It's not always true, at least not everywhere. E.g. in my country (Armenia) the employee can leave whenever they like with just a two week's notice (except in situations when they have some central/important role in the organ
101.
▲
by
skarap
11y ago
12 months for both sides? So if an employee wants to leave the employer can make them stay for one more year? Doesn't sound like a good thing to me.
102.
▲
by
skarap
11y ago
This is good development! I'm not sure how effective the law will be though. As others mentioned, those agreements are hard/impossible to enforce in court, part of the reason of which is that they are completely one-sided, vague a
103.
▲
by
skarap
11y ago
JDK... 167MB tarball + 330MB uncompressed
104.
▲
by
skarap
11y ago
I guess nobody will be saying that Java is lightweight, but the actual results of porting from Java to Go will vary wildly from usecase to usecase. Both examples mentioned in the article (the 175LoC program and the CA) sound like very simpl
105.
▲
by
skarap
11y ago
> EDIT: Check out this search: https://github.com/search?utf8=%E2%9C%93&q=ForwardAgent&type... . Holy mother of god, can we somehow return to the time when almost nobody used *nix and Microsoft was the one struggl
106.
▲
by
skarap
11y ago
Nice trick! Also - everybody should probably be aware that SSH zero-day isn't the only bad thing which can happen to you if you connect to a malicious SSH server. Your terminal emulator has a higher chance of being vulnerable (e.g. tak
107.
▲
by
skarap
11y ago
This depends on what the other options are. If you have * test with SQLite * test with Postgres then using the same environment as production (Postgres) is of course better, but if the real options are * test with SQLite * don't test S
108.
▲
by
skarap
11y ago
I'd expect this to end up as Android app permissions in the best case where almost every app you try to install wants access to GPS, files and quite a few - to SMS. And the reason for this is quite clear - users (on a large scale) don&
109.
▲
by
skarap
11y ago
Exactly. That's because the assumption that "extensions which deal with sensitive information are perfectly safe as long as they do not disseminate this sensitive information arbitrarily" is wrong. It doesn't just have a
110.
▲
by
skarap
11y ago
IIRC it was undefined behavior until C99. Then it became implementation-defined.
111.
▲
by
skarap
11y ago
This is not code - it's a trap!
112.
▲
by
skarap
11y ago
In my case the software used mmap-ed file for storage - I couldn't believe how easy is was to work with the data this way!
113.
▲
by
skarap
11y ago
It's hard to be sure why exactly shared libraries and dynamic linking appeared. Your explanation about reducing file size for smaller HDD and RAM footprint is probably one of the reasons, but I don't believe it's the only one
114.
▲
by
skarap
11y ago
This reminded me of another C syntax strangeness: "Flexible array member". It allows you to do something like this: struct items_with_header { int header_field1; unsigned int length; double array[]; }; Then allocate en
115.
▲
by
skarap
11y ago
A great book. It talks about valid, serious points and does in such a playful style that makes reading a breez.
116.
▲
by
skarap
11y ago
Quite a strange idea. The source IP spoofing problem mentioned in the draft has a known "solution" - making ISPs check source addresses before routing. I get it ain't very easy, but stopping using UDP wouldn't be easier
117.
▲
by
skarap
11y ago
Just wanted to thank you. I never heard of the C+= saga - you made my day!
118.
▲
by
skarap
11y ago
It might be a solution, but what vendor would go to such lengths (instead of just implementing signature check and denying any kind of custom software) if they are not legally abide to do that?
119.
▲
by
skarap
11y ago
Why is this any different from the situation with GSM (where you are sort-of required to run proprietary software and not allow anyone to flash any "bad" firmware to get a certificate)? Sure there is the ISM frequency band, but a
120.
▲
by
skarap
11y ago
> No one says "we don't need someone to setup/maintain our servers". Of course they do. And there are a lot of products which are marketed using that idea: "AWS Elastic Beanstalk is the fastest and simplest way t
More ›