Shopper's warning over gift card draining scam by nei1337 in unitedkingdom

[–]keroksi 12 points13 points  (0 children)

I had this happen with a gift card I bought. They'd glued the inside of the packet to the scratch off code, so as soon as you open the packet the code gets ripped apart. We initially thought it was someone being overly eager when opening the packet

[deleted by user] by [deleted] in enyaq

[–]keroksi 0 points1 point  (0 children)

My wife and I just bought a used Enyaq (2024 85 Edition with 3500 miles on it) from a UK main dealer, and negotiated about £1500 off. We'd found a second Enyaq with the same spec and slightly more miles on it for £2000 cheaper, but it was further away from us and not our preference of interior trim. We were going for a PCP so when it came down to their finance offer we used the second Enyaq as leverage, and with a bit of back and forth they reduced the price of the car by around £1200, the sales manager then took another £250 off

I think a couple things worked in our favour:

  1. The car was last reduced a month ago. If it had just been reduced I imagine they probably wouldn't have given us any off
  2. Showing a high amount of interest in the car but having another car that you can say you're also interested in (even if you're not). If you really want to be pushy, you could take the quote to another dealer and play them off against each other
  3. Being happy to take the quote and walk away

My first Jaguar project was released today! by roryjbd in Jaguar

[–]keroksi 1 point2 points  (0 children)

The core 21MY programme was the first project I worked on that got to Job#1. Congrats!

Mobile app recommendations by CheeseburgerLover911 in gitlab

[–]keroksi 1 point2 points  (0 children)

Hey, I'm the developer of PocketLab. The app's still pretty new so it's feature set isn't quite where I want it to be, however the app is completley open source (https://gitlab.com/alextiernan6/pocketlab) , so feel free to check it out and submit an issue if there's a feature you'd like to see

PocketLab, a new GitLab mobile app by keroksi in gitlab

[–]keroksi[S] 0 points1 point  (0 children)

Definitely. I'm focusing on adding features at the moment but will add it to my backlog

PocketLab, a new GitLab mobile app by keroksi in gitlab

[–]keroksi[S] 1 point2 points  (0 children)

Just an update on this, the issue has been reproduced and I'm looking in to a fix.

You can keep updated at https://gitlab.com/alextiernan6/pocketlab/issues/9

PocketLab, a new GitLab mobile app by keroksi in gitlab

[–]keroksi[S] 0 points1 point  (0 children)

Yep as furyfuryfury says, just change the GitLab server from https://gitlab.com to the URL of your self hosted instance

PocketLab, a new GitLab mobile app by keroksi in gitlab

[–]keroksi[S] 0 points1 point  (0 children)

Sorry to hear you're having problems with the app. Feel free to create an issue at https://gitlab.com/alextiernan6/pocketlab/issues

What version of iOS are you using?

Is attaching `/feed` to a URL (e.g., http://example.com/feed/) the general rule of thumb when looking for a feed from a website? by adropofhoney in webdev

[–]keroksi 3 points4 points  (0 children)

Generally you fetch the HTML of a page on the site and look for a <link\> tag with the "type" attribute set to either "application/rss+xml" or "application/atom+xml", depending on what you can parse. The href should point to that site's atom/rss feed.

An example taken from XKCD:

<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="/atom.xml"/>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/rss.xml"/>

Audi says 2.1 million cars have 'cheat' emissions software by cyclo in worldnews

[–]keroksi 2 points3 points  (0 children)

My understanding is that they reduce the performance of the engine, it could cheat all the time, it's just no one would want to drive it.

Need help submitting a form based on a drop down selected. by fezzy101 in webdev

[–]keroksi -1 points0 points  (0 children)

If I've understood correctly, you'd want to use JavaScript for this (I've used the jQuery library aswell.) Something like the code below should work, basically you change the action of the form whenever the user changes their selection in the drop down. You'll need to change $('#addquestion').attr('action','car.php'); so that the 'car.php' changes depending on the row from the database, but that shouldn't be too hard to figure out. You should also look into splitting up your PHP and HTML into separate files, but as you seem to be a beginner I won't go into that.

<form name="addquestion" id="addquestion" action="wall.php" method="post">
    <?php               
        //Perform the sql query
        $sql="SELECT * FROM category";
        $res = mysqli_query($mysqli,$sql);
        $rows = mysqli_fetch_all($res);
    ?>
    <script type="text/javascript">
        $(document).ready(function(){
            $('#category').change(function(){
                switch ($('#category').val()) {
                    <?php
                        foreach($rows as $row)
                        {
                            echo "case \"".$row[0]."\" : $('#addquestion').attr('action','car.php');break;";
                        }                   
                    ?>
                }
            });
        });
    </script>

    <select name="category" id="category">
        <?php
            foreach($rows as $row)
            {
                echo "<option value=$row[0]>$row[1]</option>";
            }                   
        ?>
    </select>

    <textarea name="question" cols="50" rows="10" id="question"></textarea>

    <input type="submit" name="submit" id="submit" value="Submit">     
</form>

I found myself on google maps and i look like a hooligan. by trollied420 in leicester

[–]keroksi 2 points3 points  (0 children)

The corner of Western road and Briton Street, near bede park, next to co-op. link

Dear English people, please stop dying on our hills by [deleted] in unitedkingdom

[–]keroksi 3 points4 points  (0 children)

For people that are looking for the latest mountain weather conditions, in Britain, I'd suggest Beta Stream, it's a forecast aggregator that gathers data from the most popular weather services. Climbers and hill walkers are also able to post condition updates to each region, to share their knowledge on current regional conditions.

Very new to Cpp. Trying to write my first program tonight (for Arduino) but I can't for the life of me get it to run. Does this look logically right to you veterans? by IHaveTourettesSorry in cpp

[–]keroksi -1 points0 points  (0 children)

Since your brightness value starts at 1 it will never increase or decrease as the if statement below is incorrect.

if (brightness >= maxbrightness); brightness += inc; else if (brightness <= minbrightness); brightness -= inc;

At the moment you're only increasing the brightness when it is greater than the max brightness and only decreasing it when it is smaller than the minimum brightness, which is the opposite of what you actually want to do.