kristjanmik / kjosturett-web Goto Github PK
View Code? Open in Web Editor NEWOne stop for Parliament elections in Iceland - http://kjosturett.is
Home Page: http://kjosturett.is
License: Other
One stop for Parliament elections in Iceland - http://kjosturett.is
Home Page: http://kjosturett.is
License: Other
Ég veit að það er nú ekki langt í kosningar en ég var að taka kosningaprófið og langaði svo mikið til að sjá svör flokkanna við hverja spurningu í kosningaprófinu. Hvað finnst ykkur? Þá gætu svör flokkana verið falin þar til notandinn hefur svarað spurningunni. Þetta getur verið praktískt ef manni finnst einhver ákveðin málefni mikilvæg og maður vill bera sitt svar við svar allra flokkana.
Ein hugmynd að útfærslu:
Lista lógó flokkanna fyrir ofan svarmöguleikana, og mögulega hægt að hovera yfir lógó til að fá fullt nafn flokksins:
Ef þið eruð til í þetta þá gæti ég útfært þetta fljótlega
We are officially working on a voting test. The plan has been laid out and we will have to crunch really hard to make this work in time. The plan is to launch this Monday, and by then we need all the replies from the parties as well as do all the coding work.
Me, @rthor and @thorsteinsson have started doing work on this, any more takers?
For our fork I added support to show a range of match % when a party does not respond to all questions (because then the true match can be lower or higher depending on how they would answer). See it here: sraka1#1
If this is of interest, I can also make a similar PR to this repository.
In this code which computes a match % based on your answers, partial support and partial objection answers are mapped to 0.8 and -0.8, instead to what I would find more intuitive 0.5 and -0.5:
https://github.com/kristjanmik/kjosturett-web/blob/master/src/process-replies.js
Why is this? The original code this is based on (https://gist.github.com/borgar/5b59dc2d70d1a93bdce5e4fb15ec7d71#file-matchranking-js) has 0.5 and -0.5. The commit which made this change is not very descriptive: 3c9731b
We've got a few hundred images of candidates that we need to crop into 500x500px face images. Does anyone want to take this task? I'm guessing there's an easy solution that won't require manually cropping each image.
The original images should not be changed, we should rather output a new version into /data/candidates-processed/*
.
Task includes:
We have been working on a lookup service for where to vote. We are tracking changes in the kjorskra branch
Nú fer að styttast í kosningarnar og ekki seinna vænna en að keyra verkefnið í gang aftur. Það eru spennandi sex vikur framundan og ekki hika við að taka þátt í uppbyggingunni!
when I run: npm run build-data I get this error:
(async () => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
I'm thinking the best way to do this is to show the list under a party single page.
Display location map of (kjörstaðir) embassies and consulates all over the world and the opening hours of each one of them. Useful for voters that are traveling.
Also add this feature to the "Hvar á ég að kjósa" feature, so depending on where you have permanent residence (lögheimili) you will have a map of those polling stations (kjörstaðir) close to you and the opening hours of them - in order to choose where to go if you live in the middle between two of them.
The only problem is that we need an easy access to this data. I'm waiting for a response from Home Office (Innanríkisráðuneytið).
We could have a test where you select 3 of your most important topics. We could then show the parties that support that topic based on the questions we asked them.
This idea is based on a conversation I had with a friend:
eina hugmyndin sem ég var með var að snúa þessum "match making" gaur á haus
og hætta að spyrja um skoðanir og skoða frekar aðstöðu
ég á við: að gera yngra fólki mögulegt að raða upp það sem skiptir máli fyrir þau, short term, til að fá að sjá hverjir standa vörð um þá hagsmuni
svona: "ef þú átt ekki bíl þá má þér barra standa á sama um bílamál"
og ef þú ert í skóla þá þarf að standa vör um hann
hljómar súper einfalt en þá eru hugsnónir og dýpri skoðanir teknar í burtu
I'll work on this one :)
Þegar ég reyni að vafra um síðuna og skoða flokka og málefni þá lendi ég í rosalega óþægilegu scrolli (kippist efst á síðuna og smooth scrollar niður til baka á réttan stað) alltaf þegar ég opna nýtt „accordion“ eða section eða hvað sem við viljum kalla það.
After providing your SSN to see "Hvar á ég að kjósa?", also opening hours of your kjörstaður (polling station). I'm waiting for a reply from Innaríkisráðuneytið (Home Office) to get access to this data.
Steps to reproduce:
<p>
elements (for example https://kjosturett.is/flokkur/vinstri-graen) in the default browser, SafariWhat happens:
Body text renders very thin, making it hard to read (see screenshot)
What should happen:
Body text should have the same legibility on all platforms, whether the font is already installed or not
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.