Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
301.
▲
by
pka
11y ago
A good developer :)
302.
▲
by
pka
11y ago
> Java’s type system, while verbose at times, allows you to write code that largely “just works”. NullPointerException would like to have a word with you about that. In all seriousness, it feels unreal that people can be that impressed
303.
▲
by
pka
11y ago
Let me rephrase. I am proposing that (barring very specific requirements which webdev doesn't justify) there's no such thing as a "good PHP developer". A good developer is a good developer, period. A good developer will
304.
▲
by
pka
11y ago
2 counterpoints: * Would you hire somebody who wasn't able to learn a new language in a reasonable amount of time? * Would you let somebody who just started with PHP (by virtue of it being an easy language to start with) work on your b
305.
▲
by
pka
11y ago
I really don't want to sound negative, I'm sure a lot of thought and work went into this, but one has to wonder - would it not be easier to just use static languages instead of writing static analyzers from scratch for every dyn
306.
▲
by
pka
11y ago
Check out Elm [1], it had hot-swapping and a time travelling debugger even before React. [1] http://www.elm-lang.org
307.
▲
by
pka
11y ago
So they would write a Haskell compiler in Java/Go/Python first? :)
308.
▲
by
pka
11y ago
Years ago (maybe 10) I decided to update Ubuntu on my dev machine. Everything went well, I boot into the new system and start playing around. But after some time the internet connection drops in the middle of apt-get. I am furious, start cu
309.
▲
by
pka
11y ago
How can a script running in a VM be less secure than the ability to run unchecked gets() & friends?!
310.
▲
by
pka
11y ago
Agreed, upvoted.
311.
▲
by
pka
11y ago
Great! Now go for Haskell :)
312.
▲
by
pka
11y ago
I didn't read the whole document, but I'm amazed how modern the Z1 was. All-binary architecture, programmable, 24 bit floating point, microcoded ALUs. The author seems to come to the same conclusion: What I find most surprising i
313.
▲
by
pka
11y ago
You are right - sorry about that. The example was put together in 5mins and was meant to just convey the general idea. I'll have to check out IDEA again, thanks!
314.
▲
by
pka
11y ago
I haven't thought about enterprise, it may be direction worth pursuing, thanks!
315.
▲
by
pka
11y ago
Thanks, I've seen jsinspect. It works by comparing ASTs, which is probably than matching strings, but I guess it wouldn't be able to deal with inlined functions or reordered code segments etc.
316.
▲
by
pka
11y ago
It works on a semantic level (i.e. what the code actually means), rather than fingerprinting strings. This means that reordering code segments, renaming variables, inlining or lifting functions wouldn't affect a match, if the code is s
317.
▲
by
pka
11y ago
No, thanks for the link! Code Climate looks more like a linter though?
318.
▲
by
pka
11y ago
I've come across simian - isn't it a fuzzy matcher without semantic analysis? I'll check out the rest, thanks!
319.
▲
by
pka
11y ago
All valid concerns. I guess the best way to address the usefulness issue is to run it against popular frameworks, like React or Angular, and see what happens. If it proves useful (like say 10% of code could be replaced by existing functions
320.
▲
by
pka
11y ago
Basically by wanting to make my life easier when working on bigger, hard-to-maintain codebases :)
321.
▲
by
pka
11y ago
Would you mind sharing which, or haven't they gone public yet?
322.
▲
by
pka
11y ago
Many of the plagiarism detection tools don't work on a semantic level. There are some, I haven't found an easy, it-just-works online solution. Could you share links to the IP detection ML tools? And to answer your question, please
323.
▲
by
pka
11y ago
I would, yes - it's a form of scratching my own itch. I don't know about you, but I find myself writing boilerplate code very often. Converting between timezones, reading config files, making HTTP requests (+error handling), UI id
324.
▲
by
pka
11y ago
Clickable link for the image: https://dl.dropboxusercontent.com/u/30225560/ase.png
325.
▲
Ask HN: Would you pay for a code similarity detection tool?
33 points
by
pka
11y ago
|
45 comments
326.
▲
by
pka
11y ago
Just had to: https://xkcd.com/224
327.
▲
by
pka
11y ago
Just FYI, the author is one of the designers of LINQ.
328.
▲
by
pka
11y ago
Sounds a lot like some form of FRP. What are the differences to Elm [1] and its support for live editing and its time-travelling debugger? [1] http://elm-lang.org
329.
▲
Usercfg – remote account configuration tool for developers
(pkamenarsky.github.io)
4 points
by
pka
11y ago
|
2 comments
330.
▲
by
pka
12y ago
It would probably help to also have something like this: singleton : a -> NonEmpty a cons : a -> NonEmpty a -> NonEmpty a head : NonEmpty a -> a last : NonEmpty a -> a init : NonEmpty a -> Maybe (NonEmpty a)
More ›