Jon1764

u/Jon1764


r/PostgreSQL•

Hi everyone, I am working on a project which requires me to store international email addresses. I am currently having a problem inserting/retrieving a record.

Currently, my column is set up as:

email_address VARCHAR(254) NOT NULL UNIQUE     

But, I am having an issue where a particular value is not getting stored correctly:

국회는회계연도개시@Лоремипсум.अविरोधता.იფსუმ

I inserted that value using INSERT INTO. But I am unable to retrieve that row using SELECT * FROM table_name WHERE ...;.

I omitted WHERE and this was my result: https://i.imgur.com/nGJtpy6.png

It appears that in the Hindi script, there are extra spaces added between the characters. When I copy and paste them

44

r/learnjavascript•

I recently inherited an ancient Angular 1.3 project which I am trying to get up and running so that I can properly migrate it over to React.

When I make an HTTP request, I get this message in the browser dev console:

Error: response.ResponseStatus is undefined

I am not familiar with Angular at all, but I believe the problem exists in this code block (which has been redacted since I cannot share the actual implementation, but hopefully I have not introduced any typos):

var myApp = angular.module('myApp', ['ngRoute']);

myApp.config(['$routeProvider'], function ($routeProvider) {
  $routeProvider.
    when('/login', {
      templateUrl: './partials/login.html',
14

r/ScandalBand•

From the Official Store if you click BUY or if you go to the International Store you are greeted with the following message:

3月29日(金)11時より、SCANDAL OFFICIAL WEBSHOP が ROOFTOP ONLINE STORE となってリニューアルしました。今後とも、どうぞよろしくおねがいします。

http://rooftoponlinestore.com/

which according to Google translates to:

From Friday, March 29th at 11:00, SCANDAL OFFICIAL WEBSHOP has been renewed as ROOFTOP ONLINE STORE.We look forward to your continued business.

It has items from SCANDAL, SCANDAL MANIA, Feedback, and Rooftop. Everything appears to be in Japanese and all pricing is in Yen,

115

r/ScandalBand•

​

https://i.redd.it/uo51be3g66n21.png

Source: https://www.instagram.com/p/BvNRApig-NA/

scandal_heaven
International  fans: We most likely have to wait until the single officially comes out
on 3/27 until it appears on Spotify/iTunes/etc. 🙂

Hopefully we will get their entire discography on Spotify. I believe that when a band changes labels, the original label or the one that paid to have the music produced owns the distribution of said music, unless a deal has been worked out (knowing SMEJ, moving to Victor was probably a last resort). Hopefully someone with more knowledge of record label contracts can clarify.

2315


Back in 2008 I opened a FS Mastercard to pay off a laptop month-to-month, but after 3 months I decided to pay it all off and stop using that card. I do not have any records of having opened that card and I have since cut up the card and gotten rid of it.

I recently signed up for CreditKarma, and on my credit report it states that I currently have an open credit card from HSBC Retail Services. I did a bit of research and it turns out they are the current holder of the FS account portfolio which apparently had been sold to them from Desjardins.

Is there any way I can get this account closed? I've contacted Desjardins and they do not have any record of having an account under my name or with

1313

r/pcmasterrace•

The primary issue I have with my system is that sometimes it randomly crashes as seen below:

I use the system normally, sometimes I am browsing the web, sometimes I am playing a game, and it crashes. The time of day does not matter. I also get corrupted audio of whatever was in the buffer at the time of the crash.

Another odd issue which occurs is sometimes the system lags hard and then the screen fades black, and then it recovers with a balloon tip stating:

Display driver stopped responding and has recovered

and then the system sometimes returns to normal, sometimes it crashes and I have to

15

r/javascript•

Currently working on a project where I have temporal data as granular as a day and I want to group data by day (leave as-is), week, and month, and calculate sums.

The data is in this form:

data = [
  { date: "2017-12-30", count: 20 },
  { date: "2017-12-31", count: 3 },
  { date: "2018-01-01", count: 7 },
  { date: "2018-01-02", count: 1 },
  { date: "2018-01-03", count: 2 },
  { date: "2018-01-06", count: 1 },
  { date: "2018-01-08", count: 8 },
  { date: "2018-01-11", count: 15 },
  { date: "2018-01-12", count: 11 }
]

and if I wanted to group by week it would find out which dates are in a week (Sun-Sat), and sum over the count variable:

23

r/sffpc•

I will be building my first mini-ITX machine in about a week once my case arrives. I purchased the Silverstone SG13 white mesh case.

My parts list is listed below, but I wanted to make a few notes about my component choices

  • I need a recommendation for a CPU cooler. I have read that 120mm AIO aren't that good, but at the same time they help with airflow. Since I will only have an M.2 drive I think I can fit a thicker 120mm radiator, but my PSU is 155mm + space for connectors. I'm down for either air or AIO water cooling, just don't want to go too high, $120 CAD maximum I guess.

  • My plan was to get a low profile CPU cooler, exhaust heat from the CPU into PSU which exhausts hot air. F

63

r/webpack•

In my package.json file, I have:

"scripts": {
    "dev": "cross-env NODE_ENV=production webpack && webpack-dev-server --quiet --hot --progress --inline"
},

I set NODE_ENV to production when running npm run dev. I understand that I should not be using production build for development, but I am in the process of testing my webpack.config.js file and I want it working perfectly before starting projects.

In my webpack.config.js file, I have:

 module.exports = {
    entry: …,
    output: …,
    plugins: [
        new webpack.optimize.UglifyJsPlugin({…}),
        new webpack.DefinePlugin({
            "process.env": {
                
33

r/javascript•

For my portfolio site I have a list of projects which I want to show on it. The problem is that the code is highly repetitive, thus I used MustacheJS templating to avoid code repetition and dynamically fill in the template at run-time.

But I don't want to user to waste time downloading MustacheJS and have the browser fill in the template at run-time. I want to be able to have Gulp run MustacheJS, generate the HTML, and inject it into the page. This way, all the work is done at compile-time and the browser doesn't need to load anything extra.

I am currently in the process of moving away from Gulp and switching to Webpack, I am also open to switching to a different logic-less templating en

13

r/learnprogramming•

For my portfolio site I have a list of projects which I want to show on it. The problem is that the code is highly repetitive, thus I used MustacheJS templating to avoid code repetition and dynamically fill in the template at run-time.

But I don't want to user to waste time downloading MustacheJS and have the browser fill in the template at run-time. I want to be able to have Gulp run MustacheJS, generate the HTML, and inject it into the page. This way, all the work is done at compile-time and the browser doesn't need to load anything extra.

I am currently in the process of moving away from Gulp and switching to Webpack, I am also open to switching to a different logic-less templating eng

20