Skip to content

u/ZdenoCharest

In this archive from Jun 2013 to Jan 2017

4
posts
35
comments
0
media
84
score

I went through a similar experience years ago when I was trying to squeeze every last CPU cycle out of an old Toshiba laptop. It was all I could afford at the time.

Once I got a beefier machine, I tried GNOME which I used for a while, KDE which I also used for a while, Cinnamon which I used for a much longer while. I eventually switched back to my humble DWM set-up because I understood something important:

I don't use DEs / WMs. I use applications and the terminal. The smaller the DE / WM, the happier I am. I require very little from a DE / WM and I've found that the more overly complex ones, well... complicate matters for very little in return.

I wouldn't be surprised if a year from now, after all of the glitz and glamour wears off, you'll be back to i3 or xmonad. You probably like your beefier laptop more than you specifically like GNOME.

7 points

The only reason it's done this was is to make it really hard to configure and use.

err... I only know how to PHP and DWM is my WM of choice. I put it everywhere from my netbook, laptop, to the desktop with two screens. I did figure out how to patch the source code so I could add a system tray, but that's a far cry from actually knowing how to code in C.

I've tried many other WMs, tiling and otherwise, and i keep going back to DWM just because of how simple and no-nonsense everything is.

1 points

If you have a wireless network card in your desktop, you might want to install the necessary packages so you can fire up wifi-menu when you first reboot the machine. To do this, simply add the netctl, dialog, and wpa_supplicant packages when you install the base system with the pacstrap command:

# pacstrap /mnt base netctl dialog wpa_supplicant
1 points

I appreciate the good work you're doing, but the "security flaw" you're mentioning in Laravel only exists if the user intentionally opens security holes in the framework. To quote Taylor Otwell in the GitHub comments you linked:

Yes, people would vulnerable if they used cookie session driver and for some reason decided to totally disable cookie encryption by removing that middleware, or of course not changing the APP_KEY in a production application, which we have several warnings against in the documentation and even set for you on installation via Composer and Laravel installer tool.

1 points

I don't think the query is interpreted by Laravel in any way, so the problem probably lies somewhere else.

You're right. It lies in a bad case of jet-lag and not enough sleep.

$products = DB::select('select sku, name from products where name similar to ? ', array('Widg(e|é|è)t'));

... and ...

$products = DB::select('select sku, name from products where name ~* ? ', array('widg(e|é|è)t'));

... both work exactly the way they're supposed to. I just had to take a look at the nonsense I was writing after a few hours' rest.

Thanks again.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.