Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 11 2017 10:07

    lierdakil on master

    Typed emitter Use typings-provided IEventDesc (compare)

  • Aug 11 2017 10:07

    lierdakil on master

    Update typings Moved common.d.ts types to typi… (compare)

  • Aug 11 2017 09:31

    lierdakil on master

    bump submodules (compare)

  • Aug 11 2017 08:46

    lierdakil on master

    bump submodules (compare)

  • Aug 10 2017 18:46
    mrkaspa closed #218
  • Aug 10 2017 18:46
    mrkaspa commented #218
  • Aug 10 2017 16:56
    lierdakil commented #218
  • Aug 10 2017 16:41
    mrkaspa opened #218
  • Aug 10 2017 00:28
    lierdakil closed #209
  • Aug 09 2017 23:52
    lierdakil commented #210
  • Aug 09 2017 23:51

    lierdakil on v2.0.2

    (compare)

  • Aug 09 2017 23:51
    lierdakil closed #210
  • Aug 09 2017 23:51

    lierdakil on master

    Update typings Fix #210 Update CHANGELOG and 1 more (compare)

  • Aug 09 2017 23:09
    vitormmatos opened #210
  • Aug 09 2017 21:44

    lierdakil on master

    Define Symbol.asyncIterator Update CHANGELOG Prepare 2.0.6 release (compare)

  • Aug 09 2017 21:44

    lierdakil on v2.0.6

    (compare)

  • Aug 09 2017 18:46
    karljs commented #207
  • Aug 09 2017 18:04
    lierdakil edited #209
  • Aug 09 2017 18:04
    lierdakil commented #209
  • Aug 09 2017 18:03

    lierdakil on master

    Fix run-filter type Prettify editor controller Reworked editor controller inte… and 3 more (compare)

r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
So what does the ide-haskell actually do?
lierdakil
@lierdakil:matrix.org
[m]
UI
Or you're asking in general?
*are you asking
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
I do not quite understand that question.
Let us assume i am asking in general.
Then what would you tell me?
lierdakil
@lierdakil:matrix.org
[m]
Well, ide-haskell (including dependencies) provides type tooltips, compiler output, error highlights in editor -- what you expect from an IDE mostly.
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
Ah, no I am asking what its current capabilities are.
lierdakil
@lierdakil:matrix.org
[m]
If you're using ide-haskell-repl (works for small-ish projects mostly), then typecheck-on-save and type tooltips are the two features you get
Well, that and REPL obviously
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
Thanks a lot.
lierdakil
@lierdakil:matrix.org
[m]
If you add ide-haskell-cabal into the mix, build output from cabal/stack gets displayed as you would expect (highlighting the errors in editor, etc)
If you switch out ide-haskell-repl for ide-haskell-hls, then you get most fetatures you would expect, but there are probably bugs in the implementation, and I fogot to write the docs.
The latter (lack of docs) I will try to remedy later this week if I won't forget again (sorry, pretty busy with life)
lierdakil
@lierdakil:matrix.org
[m]
r3dnaz[m]: to be clear, "what you would expect" with ide-haskell-hls is on-line typecheck, autocomplete, some refactoring support, etc. See haskell-language-server docs for more info. If something should work but doesn't let me know.
Lierdakil
@freenode_Lierdakil:matrix.org
[m]
huh. matrix is being cute. rednaZ ^
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
Thanks again. I am teaching an advanced Haskell course at university and I am trying to figure out what tooling I should recommend.
...to my students.
lierdakil
@lierdakil:matrix.org
[m]
In general, I would say VSCode with haskell-language-server plug-in
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
Yeah, I heard good things about it. I slightly dislike how it forces you into a full-blown project structure.
...as opposed to using a simple hs file.
lierdakil
@lierdakil:matrix.org
[m]
Does it though? hls works with standalone files I think.
Sorry, I don't actually use VSCode.
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
Maybe I gave up to quickly. I will try again later.
lierdakil
@lierdakil:matrix.org
[m]
So my recommendation comes from word of mouth rather than first-hand experience
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
Thanks in any case.
And thanks for you open source work.
lierdakil
@lierdakil:matrix.org
[m]
Sure, you're welcome I guess.
This sounds worse than I intended.
What I meant to say is, you're welcome, but I don't really feel like I did something to deserve a gratitude.
r3dnaz[m]
@freenode_r3dnaz[m]:matrix.org
[m]
I have a lot of respect for people doing open source work and being as responsive as you on top.
lierdakil
@lierdakil:matrix.org
[m]
You just caught me when I wasn't otherwise preoccupied :)
farkasarpi
@freenode_farkasarpi:matrix.org
[m]
Hi, when I want to prettify in ATOM it gives this error: write EPIPE. What could cause this?
farkasarpi
@freenode_farkasarpi:matrix.org
[m]
Hi, I don't really know what's the issue, but stuff like haskell auto-complete and get-type doesn't work for me. Tried to reinstall packages, still nothing. I don't know if I have to mess with the settings or I just fucked up the install somehow
lierdakil
@lierdakil:matrix.org
[m]
farkasarpi: what is your install procedure (no need for details for now, just in a few words)
?
farkasarpi
@freenode_farkasarpi:matrix.org
[m]
Well i mean i just install it in atom's "Install packages and themes" thing, just started using it so don't really know much
lierdakil
@lierdakil:matrix.org
[m]
farkasarpi: ok, what packages did you install then?
related to Haskell I mean
farkasarpi
@freenode_farkasarpi:matrix.org
[m]
haskell-debug, ide-haskell, ide-haskell-hashtags, ide-haskell-hoogle, language-haskell
lierdakil
@lierdakil:matrix.org
[m]

I guess the TL;DR is this: you have two options: the fancy one that's in alpha, and the less fancy one that's in beta.
the "alpha" option is ide-haskell-hls plus Haskell Language Server (https://github.com/haskell/haskell-language-server) which you need to install separately (can't really auto-install it from Atom). It's pretty fancy, and includes autocomplete.

The less fancy option is ide-haskell-repl and (probably eventually) ide-haskell-cabal. This only depends on GHCi, but doesn't provide autocomplete.

both options will show types on mouseover and typecheck the code (ide-haskell-repl will only do that on save, while hls will do it on change)
farkasarpi
@freenode_farkasarpi:matrix.org
[m]
ahh okay, thanks for the help
I'll see which option is better for me
lierdakil
@lierdakil:matrix.org
[m]
Bear in mind you need to explicitly enable the backend features in ide-haskell-repl https://atom-haskell.github.io/extra-packages/ide-haskell-repl/#using-ide-haskell-repl-as-ide-backend
perdent
@freenode_perdent:matrix.org
[m]
Hey is anyone interested in a crypto/hardware challenge i made involving DPA/CPA on AES-128? So I captured the embedded device that was used to encrypt the ciphers you are trying to break. are you able to recover its Encryption Key? here is the socket_interface: https://pastebin.com/cLuqmZyY and here is the remote lab layout: https://ibb.co/q9j59Mq PS, his might b helpful, message me if you need any hints, and if you manage to
Can communicate to the remote device with netcat or or with the socket interface script to receive traces etc.
wizbert
@wizbert:matrix.org
[m]
I'm trying to get the prerequisites installed in order to use the Atom-Haskell packages, and I keep getting build plan failures when trying to use the "stack install" command. I'm not sure what to do about it. Do I really need to add a bunch of extra-deps arguments to the global stack.yml, or is there an lts resolver where all these modules just work?
wizbert
@wizbert:matrix.org
[m]
ghcup seems to be the solution