Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PeCaN
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
631.
▲
by
PeCaN
10y ago
Yeah. OpenBSD compiles everything as PIC, has ASLR, they were considering randomizing the locations of objects within libraries and executables (I think this was or is being implemented), as well as limited what you can do with a ROP expl
632.
▲
by
PeCaN
10y ago
Yep! That's the idea here: it makes it less likely to accidentally treat data as instructions. If you can figure out some bug in a JIT compiler to get it to write your payload to a page that will get turned executable, then you still h
633.
▲
by
PeCaN
10y ago
> XOR > eXclusive OR Who would've thought.
634.
▲
by
PeCaN
10y ago
There are a lot of prominent counterexamples though: - Blender (Blender's UI is pretty odd and entirely un-platform-like, but very efficient) - Photoshop (case in point, Ctrl-Z; I'm very glad Adobe didn't follow conventions
635.
▲
by
PeCaN
10y ago
Personally, I don't think I would be very comfortable knowing I was hired because company X has to meet diversity quotas and not solely because I was the best candidate for the job. I think it's an offense to hackers in general—I&
636.
▲
by
PeCaN
10y ago
You actually can, via (ab)using requestAnimationFrame. It's been a while since I did front-end development, but back in the day (...okay, 2014 ish) we'd batch DOM reads and writes, run through them the next time the frame was pain
637.
▲
by
PeCaN
10y ago
I kid you not, it's taught in American elementary schools (at least it was to me, in the early-mid 2000s). ...Yeah. Thankfully my middle school general science textbook mentioned this shit's been known forever and the Greeks even
638.
▲
by
PeCaN
10y ago
> I think you're underestimating the value of the enormous Java/JVM ecosystem. You could be right. For a number of the languages I mentioned I banked on really good FFIs allowing easy usage of C libraries. Perhaps in some domai
639.
▲
by
PeCaN
10y ago
> Erlang Erlang's CPU performance is not bad IME (though admittedly I can't think of anything I've implemented in both Erlang and Java to compare). But that's beside the point; you pick Erlang for networked and I/
640.
▲
by
PeCaN
10y ago
> what's left? - Erlang (this fits your criteria at least as Java...) - OCaml (concurrency isn't the best) - Haskell (also fits your criteria very well) - D (easy to use C libraries and sometimes C++) - Rust (not GCed, but why
641.
▲
by
PeCaN
10y ago
My guess: Since anysz mentioned he has 0 friends, there will be no social graph recommendations. Thus less-confident recommendations will show up, including spending some minutes in the same location as someone. It could then consider other
642.
▲
by
PeCaN
10y ago
> Ethereum (unlike Bitcoin) is Turing complete. It can have code that loops and recurses based on the state of the chain Yikes. Turing-completeness is the last thing I want in a contract language. These things should be _provable_ and _t
643.
▲
by
PeCaN
10y ago
Programming in colorForth¹ outside? ¹ https://en.wikipedia.org/wiki/ColorForth
644.
▲
by
PeCaN
10y ago
Taken from Pascal and other Wirthian languages. Nim actually looks vaguely Wirthish in some areas. Interesting.
645.
▲
by
PeCaN
10y ago
On top of that, in a step function you really want to see what's being modified (that's kinda the point...). I suspect that monstrosity is easier to maintain than having state updates scattered around and having to jump to defin
646.
▲
by
PeCaN
10y ago
Microsoft's net income increased dramatically under Ballmer¹ however. Dude made money. Apple's stock has stagnated lately, though that may very well be temporary. I think people discredit how smart Ballmer actually was, given how
647.
▲
by
PeCaN
10y ago
"Hide all from ..." is the single best Facebook feature. I use it a lot, I think I have most political sites hidden now.
648.
▲
by
PeCaN
10y ago
Allow users to tag a set of hashtags as a category. Make hashtags user-taggable and suddenly sorting and categorizing is easy. Undoubtedly this just sounds like a good idea to the "few orthogonal abstractions" hacker brain, but wi
649.
▲
by
PeCaN
10y ago
I took zentiggr's comment to be sarcastic with a hint of truth. I don't think his choice to use "sheeple"¹ or bring up Orwell detracts from his point. ¹ And let's be realistic, anyone who thinks the TSA actually imp
650.
▲
by
PeCaN
10y ago
...I actually thought you were a native speaker at first. Your English is pretty good and it's easy to understand your thoughts.
651.
▲
by
PeCaN
10y ago
Try APL/K/Q/J sometime. Anything can be done in one line. (Note: does not mean should be done in one line....) There is something rather magical about solving almost any problem in a single line of code.
652.
▲
by
PeCaN
10y ago
You can read about the awesome theory behind relational algebra. Gave me a great appreciation for how awesome SQL databases actually are (and why they work the way they do).
653.
▲
Things That Turbo Pascal Is Smaller Than (2011)
(prog21.dadgum.com)
18 points
by
PeCaN
10y ago
|
2 comments
654.
▲
by
PeCaN
10y ago
They dumped a bunch of money into it, so presumably they're at least interested.
655.
▲
by
PeCaN
10y ago
Watson's basically a "bring-your-own-knowledge-base" NLP platform. There's the developer site[1] if you can manage to read through IBM's marketing speak[2]. The docs are pretty good. -- 1. http://www.ibm.
656.
▲
by
PeCaN
10y ago
About as much as you can buy Amazon Echo or Google Home actually. At least IBM makes very clear what the usage conditions of Watson are, and it's fully extensible.
657.
▲
by
PeCaN
10y ago
You jest, but sometimes that's exactly what you need for short-lived programs¹. Bump alloc and free on exit is super fast if your space complexity is bounded. ¹ http://www.drdobbs.com/cpp/increasing-compiler-speed-
658.
▲
by
PeCaN
10y ago
std::unique_ptr, move constructors, etc and you're pretty safe, but it's still not in the same league as Rust. In my opinion you should probably learn Rust unless you want to get a job writing C++ (e.g. game development).
659.
▲
by
PeCaN
10y ago
While conventional voting is far from great, the first time someone hacks an online vote is going to set it back for decades. It could be better now, but it almost has to be perfect to get people to switch.
660.
▲
by
PeCaN
10y ago
It even works with JavaScript disabled... what is this sorcery?
More ›