Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dkopi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
dkopi
11y ago
A month in south East Asia. Then another month simply learning something new. Get excited about programming again. Make programming your hobby again, and not just your job.
182.
▲
by
dkopi
11y ago
While definitely great proof of: 1. The author knowing a lot of the language's functional features (permutations, mapping, zipping, filters) 2. How powerful functional programming is when solving problems I find this type of code an an
183.
▲
by
dkopi
11y ago
This reads to me as an overreaction. Sure, it's important to be vigilant about the permissions you give apps, but it's also important to understand the underlying OS and permission layers. TLDR: If you're concerned about your
184.
▲
by
dkopi
11y ago
I'm concerned about the lack of authentication on this API. What's to prevent an attacker from modifying my booleans? just his ability to guess the guid?
185.
▲
by
dkopi
11y ago
Its very likely that a newer apartment would be priced higher than an older apartment. But that doesn't mean new apartments don't have an aggregate effect on the prices of other apartments. http://cityobservatory.org&#x
186.
▲
by
dkopi
11y ago
You can't judge pricing in a market that's very restrictive. Sprinkling a few higher density buildings in area with rapidly growing demand isn't going to be enough to lower prices.
187.
▲
by
dkopi
11y ago
Some algorithms require additional temporary space. Other algorithms can modify a data structure in place. Some data structures are very loosely spaced in memory as it is, and adding existing nodes is just about using up more of the existin
188.
▲
by
dkopi
11y ago
It's 2016, and people still think that if someone moves into your neighborhood, someone else has to move out. Rising demand is great. It means people want to enjoy your neighborhood. You can either meet that demand by increasing supply
189.
▲
by
dkopi
11y ago
Given that the dependencies are: "babel-core": "^6.7.4", "babel-polyfill": "^6.7.4", "chalk": "^1.1.3", "cheerio": "^0.20.0", "es6-prom
190.
▲
by
dkopi
11y ago
This fork is still available: https://github.com/orinocoz/pirateflix
191.
▲
by
dkopi
11y ago
More concerned about the lack of https. Pirate bay might be legal in your country, but that doesn't mean you want snoopers logging your porn searches.
192.
▲
by
dkopi
11y ago
Great point. This is definitely nice work, and it looks like a great usage of existing tools. Did not intend to come off disregarding the effort.
193.
▲
by
dkopi
11y ago
It seems a lot of the magic behind this comes from Peerflix - a node.js library for streaming torrents. This is mostly a CLI wrapper for searching piratebay, parsing the results, and then streaming using peerflix. https://github.
194.
▲
by
dkopi
11y ago
Does V8 have easy conversion between V8 classes and std classes? converting a V8 string to an std string and back by first casting to a null terminated char array seems very cumbersome and error prone.
195.
▲
by
dkopi
11y ago
Be ultra careful when doing this. First of all - make sure to get, validate and store the buffer's length (ByteLength()) Secondly - GetContents() is only for temporary access to a buffer. if you store that pointer and use it later (&#x
196.
▲
by
dkopi
11y ago
"Our method successfully fools humans 20\% of the time, significantly higher than previous methods." I suspect this number will only increase over time, as humans lose the ability to recognize original colors in images thanks to I
197.
▲
by
dkopi
11y ago
Perhaps Portland can learn from SF's mistake, and actually allow massive building of new housing if there's a spike in demand.
198.
▲
by
dkopi
11y ago
> The candidate can't remember what the "str" type is called, or how to find substrings in a string, or the difference between "==" and "is" for objects. They ask you to remind them if "join"
199.
▲
by
dkopi
11y ago
True, you don't usually need the prologue to hook a function, but we're talking about hooking functions that might be called by another thread at the same time. If you just modify the instructions while another thread is running t
200.
▲
by
dkopi
11y ago
If you don't control the code and can't recompile it, you won't be able to add the ms_hook_prologue function property
201.
▲
by
dkopi
11y ago
On the other hand, you have paul graham's great post about the top idea in your mind. "It's hard to do a really good job on anything you don't think about in the shower.": http://www.paulgraham.com/t
202.
▲
by
dkopi
11y ago
If you have a good idea and a team that can execute, seed money is still fairly easy - assuming you're actively seeking it, and you have enough proof that you can execute.
203.
▲
by
dkopi
11y ago
If you enjoyed this, here's a great follow up: http://jbremer.org/x86-api-hooking-demystified
204.
▲
by
dkopi
11y ago
I find the whole discussion of what "economies must" and what "economies should" baffling. Economies don't have wills of their own. Economies describe the voluntary economic activity of millions to billions of peopl
205.
▲
by
dkopi
11y ago
Any tech company in israel is largely ex unit 8200 members, along with other military tech units such as Mamram, Lotem, Matzov, Ofek and more. The Israeli military enlists every 18 year old in the country, and if you've studied compute
206.
▲
by
dkopi
11y ago
Israeli company helping the FBI investigate a terrorist's phone. Why would this cause political fallout? That's exactly what allies are supposed to do for each other.
207.
▲
by
dkopi
11y ago
For-in array can be implemented using ES6's for-of. https://developer.mozilla.org/en/docs/Web/JavaScript/Referen... Also, Not sure if it would be correct to implement a python dict using an ES6 map.
208.
▲
by
dkopi
11y ago
"An intense burst of consolidation will boost their profits more. Since 2008 American firms have engaged in one of the largest rounds of mergers in their country’s history, worth $10 trillion. Unlike earlier acquisitions aimed at build
209.
▲
by
dkopi
11y ago
Mass surveillance is a really ineffective way to silence minority opinions. Personally I prefer down-votes from people with more karma to get the job done.
210.
▲
by
dkopi
11y ago
Here's a discussion about load factors for Java, I'm guessing the Go implementation for HashMaps is similar: http://stackoverflow.com/questions/10901752/what-is-the-sign...
More ›