Skip to content

u/guide42

In this archive from Dec 2012 to Dec 2016

5
posts
113
comments
3
media
520
score

I was in the idea that iterator_to_array will look a generator and generate an array from it, in the end is just an iterator. But I came to this, that when using yield from it won't work as expected. Is this a PHP bug or we shouldn't rely on iterator_to_array for generators?

3 points

Can you paste your .bashrc/.bash_profile files? Or .zshrc/.zprofile if you use zsh. You might run something that doesn't run on background and might be missing the & at the end. Just and idea.

5 points

For me it's a #2. Seems very nice if you are in the niche working with frameworks that are part of. But outside it's really difficult to adopt in other libraries. Some because there are too small to implement everything (I'm looking at you PSR-7), others because they have different philosophy (example) and finally there are a lot proprietary libraries done in many enterprises that will never see the light, and today, because of the FIG, will not be widely accepted if they do.

EDIT: Just want to add that I feel myself more closely to lightweight and micro libraries than to the frameworks in the FIG.

EDIT 2: I want to recommend the article A minimalist approach to Object Oriented Programming with PHP ;-).

2 points

Which wireless card do you have? I'm in an X200 and have an Atheros (lspci | grep Wireless):

03:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

In my case, it uses the driver ath5k (lsmod | grep ath). Look in the wiki to find which one you use.

It should be loaded with modprobe ath5k.

0 points

Also I'm still scratching my head over UEFI vs BIOS.

Dual boot with UEFI is headache source. I'd try it and went back to the old BIOS/MSDOS partition table. But if you are going to try it, Windows should have SecureBoot deactivated and the partition table should be UEFI/GPT.

1 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.