snoyberg / haskellers Goto Github PK
View Code? Open in Web Editor NEWhaskellers.com site
Home Page: http://www.haskellers.com/
License: Other
haskellers.com site
Home Page: http://www.haskellers.com/
License: Other
On https://www.haskellers.com/profile there is a field to set your Google+ profile link. Since Google+ is shutting down, this should just be removed.
OpenID2 for Google accounts is going away on April 20, 2015.
That might be problematic if not fixed in time.
When using Haskellers I have wanted to filter the users by location. Instead what I end up doing it using google maps to zoom into a location. When I spotted someone with a similar complaint on reddit[1] I decided it was worth writing an issue on it.
When trying to run a development instance via stack exec -- yesod devel
, after some successful operations the server fails and it prints the following lines:
devel.hs: InvalidYaml (Just (YamlException "Yaml file not found: config/db/aws"))
Exit code: ExitFailure 1
Indeed, i do not have any config/db/aws.yml
file. Probably something changed in the installation process, also because i cannot find the files referred at point 6 of the installation instructions. How to set up a development instance?
At a route like https://www.haskellers.com/user/asdvsdsfvsdfv (use any random username that doesn't exist), I'd expect to be shown a 404 page, and not "Internal Server Error".
When I am trying to login via google it redirects me to https://support.google.com/accounts/answer/6206245?p=openid&rd=1
The lines do overlap, here is a screenshot.
Tested with Firefox 9.0.1 and Cromium 15.0.874.106 on Linux.
I'm trying to follow the instructions on how to build the project locally. On the last step of stack exec -- yesod devel
I getting:
devel.hs:4:36:
Module ‘Network.Wai.Handler.Warp’ does not export ‘settingsPort’
Signing in with OpenID incorrectly uses the delegate identifier rather than the actual identifier. For example, I signed in with 'http://groovie.org/', my own website that uses a delegate under myopenid.com for the signin.
My 'http://groovie.org/' should be used as the OpenID identifier, so that I am free to change delegates if I choose, etc. however, Haskellers uses the delegate identifier instead which is problematic if I should change delegates and forget about the bug here.
Since existing logins are already associated with delegate identifiers, a way to fix this without impairing existing logins would be to allow OpenID authentication, and look for accounts in the system with either the delegate name or the actual one typed in to begin with, and add the non-delegate one to the users profile. New users signing in will not need the delegate identifier added, and existing users tied to a delegate identifier will be 'upgraded' on login.
Please see second half of this discussion for background:
In short, this file:
https://github.com/snoyberg/haskellers/blob/master/config/models
is very confusing because it contains a lot of obsolete entity attributes, so @gregwebs asked me to open this issue. Is it possible to remove all the confusing attributes like Ask
, Desc
, In
, Gt
, and others?
Since Haskellers site is sort of example (at least I use it as a reference) for Yesod developers, it would be very desirable to keep it understandable. I, for instance, have read most part of Yesod book, but when I started to learn how Haskellers works, I got strong impression that Yesod has a lot of esoteric, undocumented features not explained in Yesod book or documentation, mainly because of this file.
I have tried several times today to send the verification link email, but each time I get an Internal Server Error:
StatusCodeException (Status {statusCode = 400, statusMessage = "Bad Request"}) [("x-amzn-RequestId","f666844b-62ab-11e3-ac10-f7fa825e6e04"),("Content-Type","text/xml"),("Content-Length","349"),("Date","Wed, 11 Dec 2013 21:34:05 GMT"),("X-Response-Body-Start","<ErrorResponse xmlns=\"http://ses.amazonaws.com/doc/2010-12-01/\">\n <Error>\n <Type>Sender</Type>\n <Code>RequestExpired</Code>\n <Message>Request timestamp: Wed, 11 Dec 2013 21:28:25 +0000 expired. It must be within 300 secs/ of server time.</Message>\n </Error>\n <RequestId>f666844b-62ab-11e3-ac10-f7fa825e6e04</RequestId>\n</ErrorResponse>\n")] (CJ {expose = []})
I am afraid that tests here are not working. When i run stack test
, it fails with the following error:
tests/Import.hs:13:2: lexical error at character 'i'
Which is caused by what i think is a conditional compilation directive here. If i comment that directive out, i see a very long list of errors due to missing dependencies for tests, like in:
/Users/francesco/repos/haskellers/tests/Settings.hs:28:8:
Could not find module ‘Text.Hamlet’
It is a member of the hidden package ‘shakespeare-2.0.5’.
Perhaps you need to add ‘shakespeare’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
Besides this, it seems that the content of tests
mirrors the content of the root folder. Maybe the only true test there is tests/HomeTest.hs
. So i am not sure whether this works or ever worked. To me it seems like there was a plan to do something with all these copied files, but then the plan was abandoned.
So, where to go from here? Maybe it would be a good idea to just keep HomeTest
and delete all the rest, leaving room for new tests to start from scratch. I am afraid that some problem might still persist though, due to the dependencies missing in the test section of the cabal file. Hopefully there is some goodness coming from Slack which can help us with this.
I'm having hard time understanding purpose of entities
file. You have config/models
and that's what is used in Models.hs
, however it looks like entities
:
grep
.config/models
(?)Could we just remove entities
file to avoid confusion?
Blog post with the proposal: https://www.snoyman.com/blog/2021/03/shutting-down-haskellers/. Please add comments, and/or use the voting emojis on this description to express your position.
Like in here for example http://www.haskellers.com/jobs/100
In profile.hamlet
Recaptcha mailhide link: http://www.google.com/recaptcha/mailhide/ is a 404.
Possible alternatives for this link to be updated to:
cabal install fails with:
Building haskellers-0.0.0...
Preprocessing library haskellers-0.0.0...
cabal: can't find source for SESCreds in ., dist/build/autogen
Failed to install haskellers-0.0.0
Would it be possible to provide a "safe" version of SESCreds so I can get my local install working?
As now the only choice you have is to use gravatar, which for a number of reasons (not wanting to use a single profile pic for x sites, etc.) may not be the best choice.
So an idea would be to allow users to uplod their own profile pic if they want so.
I have two profiles with the same email
I can't remember how I made both of them. When I login using Google, I land on an empty and private profile which is neither of those.
How do I go about deleting one of them?
I just tried to verify my email adress and got the following error after pressing "send verification link":
SESException (Response {statusCode = 400, responseHeaders = [("x-amzn-RequestId","0aeeef1f-1757-11e1-a9c8- 4f1da61874db"),("Content-Type","text/xml"),("Content-Length","349"),("Date","Fri, 25 Nov 2011 11:17:20 GMT")], responseBody = Chunk "<ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/\">\n \n Sender\n
RequestExpired
\n Request timestamp: Fri, 25 Nov 2011 11:11:36 +0000 expired. It must be within 300 secs/ of server time.\n \n 0aeeef1f-1757-11e1-a9c8-4f1da61874db\n\n" Empty})
After clicking Facebook logo page gets refreshed but Facebook login UI appears.
I'm using Google Chrome
SqlError {sqlState = "23503", sqlNativeError = 7,
sqlErrorMsg = "execute: PGRES_FATAL_ERROR: ERROR: update or delete on table
\"Haskellers__User\" violates foreign key constraint \"Haskellers__Message_from_fkey\"
on table \"Haskellers__Message\"\nDETAIL: Key (id)=(850) is still referenced from table
\"Haskellers__Message\".\n"}
http://www.haskellers.com/users?_hasdata=&f1=&f2=&f3=&f4=no&f5=no&f6=&f7=&f8=
Tried in Chrome and Firefox - same result.
The css for the jobs page has somehow gone awry. Maybe it is well that philosophy 'paints its grey on grey', but not haskellers.com/jobs. I cant seem to find the trouble in the .cassius file, so maybe its coming from somewhere else.
Hiya!
My account (https://www.haskellers.com/user/isovector) is attached to a facebook oauth. But I've since deleted facebook! Is there some way to log in?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.