Information Technology

Why web scrape?

Learn Programming - 3 hours 58 min ago

I'm trying to improve my programming skills, so I have been looking up projects I could do. I found a project about web scraping twitter. I know that web scraping is taking data from a website, but why would I want to do that. What would someone use that info for and how could they employ that into a website or app?

submitted by /u/iOwnUranus
[link] [comments]

Need help creating a cross-platform custom keyboard and dictionary

iOS Programming - 3 hours 58 min ago

I'm not even sure where to start and hoping this community can guide me. In my job, we use a lot of terms and acronyms that makes using the default dictionary and autocorrect on smartphones unusable. I want to build a customer keyboard and dictionary to use when texting and emailing my colleagues to make my life easier. What do you guys suggest to get started? Thanks.

submitted by /u/deftkillerstu
[link] [comments]

Need help getting started? Help me improve by helping you!

Learn Programming - 4 hours 1 min ago

Hey guys, I just posted to /r/learnpython but wanted to hit the broader audience here as well. Link to the other post here

I'm a postgraduate Computer Engineer who's been working with a US College for a couple years now assisting with the senior computer and electrical engineering capstone design program. This has been primarily as an advisor for 1-5 teams consisting of 2-5 engineers and assisting them with learning new concepts and areas that help them solve a design challenge brought to them by a sponsoring company. The first years are always the biggest years for growing, and I'm looking to help the reddit community out in between semesters.

If you're new to programming and are finding online resources or programming textbooks challenging to learn from, and would like some one on one advice or tutoring, PM me! I find personal training to be extremely helpful and was never able to find a good source during my undergraduate studies. Now that I'm transitioning to a dual role as a developer and an educator, I'd like to work on the latter by offering some of my time for anyone interested!

My primary fields of expertise are in C#/.NET/WPF, Python/Raspberry Pi, I2C/Serial/SMBUS, Embedded Linux, etc. I've also developed in C, C++, Assembly, Java, JavaScript and VHDL (FPGA). I like to think that I've dabbled in the real full-stack (from front end applications to the backend and all the way down to the physical layer). Additionally, I've worked within my discipline as both a developer and as a project manager (Gaant/Waterflow, Agile (Scrum and Kanban). I'm open to any sort of challenges you guys might be facing: from design fundamentals all the way to the plain-old implementation. If you'd like to discuss the design of a new or existing program, develop a project breakdown and plan of attack, functional diagrams , etc. just send me a PM and I'll see what we can do!

What do I get out of this? Experience, mostly! I've always had a knack for education and connecting to students or engineers and their specific methods of learning but, like all things, practice makes perfect. Since I won't be back at the university until September, I thought this would be a great time to reach out to the reddit community and see what good I could do and learn along the way.

submitted by /u/demrabbits
[link] [comments]

Razer and Microsoft may be working on an Xbox keyboard and mouse

Engadget - 4 hours 2 min ago
If you've been waiting for keyboard and mouse support to come to the Xbox, there's some (possibly) good news on that front. According to Windows Central, Microsoft and Razer may be working together to bring peripheral support to the console.

High-end AirPods and headphones could amplify Apple’s audio ambitions in 2019

MacCentral - 4 hours 7 min ago

AirPods and high-end headphones highlight what could be Apple's Year of the Ear in 2019. According to a new report, Apple has no fewer than three new audio products in the works—the third likely being an improvement upon the lackluster HomePod.

Along with confirming the rumor that a new set of AirPods with a new chip and hands-free Siri support are due this year, Mark Gurman reports that Apple is working on a trio of audio accessories for next year. A set of Airpods speakers leads the way. Also on the docket will be a set of “studio-quality over-ear headphones,” as well as an even-higher-end pair of AirPods.

To read this article in full, please click here

Dust to Dust and Jello to Jello: the Journey of a Very Strange Knife

Hack a Day - 4 hours 13 min ago

How do you feel about Jello? It’s alright tasting, but it’s much more about how jiggly it gets. Nobody — probably — would eat Jello if it was a hard candy. It would quickly become restricted to the bowl of strawberry candies that Grandma always seems to have. How do you feel about knives? We’re on Hackaday. Most everybody here has at least a couple in their toolbox. Some of them have more than a couple, including the whetstones to sharpen them. It’s safe to say they probably like the concept. Now, what if you could combine the two? Two favorites are always better than one. A Jello knife, while seemingly impossible, would be rather impressive, and [kiwami japan] does just that, as well as so much more.

He starts with a couple dozen adorable Jello snacks (Jellos?), and from the wiggliest of foundations, he builds a masterpiece. The first order of business is to eat a couple of the stragglers while he decides what to do with the rest. A bit of blue food coloring, some more gelatin, and the help of several cow shaped bowls and pitchers later, [kiwami japan] has melted the survivors down and gotten a flat sheet. Once sufficiently cooled, it makes a nice knife-shaped Jello blank.

From there, it only looks easy. If you want to understand how much work [kiwami japan] puts into a Jello knife, you can look at our previous article on making a steel knife. There’s a ridiculous amount of sanding, filing, and grinding involved, and [kiwami japan] does all this with a brittle piece of air-dried Jello. Once he has shown off the obligatory paper cutting trick, he re-melts the Jello and re-seals it back into the original packaging, eating a couple more while he’s at it.

Now this is neat enough on its own, but his Jello knife isn’t even the second sharpest non-metallic knife he’s made. That honor belongs to his pasta knife, which he also went on to eat with a nice home-made cheese sauce. Not feeling up for pasta? Then you may want to try his chocolate knife. Prefer to keep your food on the knife instead of in it? Look up his carbon fiber knife, the sharpest he has ever made. Only have cardboard lying around? Make a knife out of it. Aluminum foil? Plastic Wrap? Water? Basically, if you’ve seen the material before, [kiwami japan] has tried and succeeded to build a weapon with it. Why he does this remains a mystery, but it certainly is cool.

Thanks, [Keith], for sending this our way!

Should i go for a macbook air if i want to use it for programming?

Learn Programming - 4 hours 15 min ago

P.S. -not much into gaming. Plus,i would use it for high end programming. So, suggest the necessary specs it should possess.

submitted by /u/chanyeolxx
[link] [comments]

Happy birthday, you lumbering MS-DOS-based mess: Windows 98 turns 20 today

The Register - 4 hours 28 min ago
Rose-tinted spectacles ON. Nope, not doing anything

Windows 98 turns 20 today. However, rose-tinted spectacles still don't make a hybrid 16 and 32 bit OS tottering on top of MS-DOS any more appealing.…

In China, coal rules cut sulfur emissions, but data manipulation is a concern

Ars Technica - 4 hours 29 min ago

Enlarge / HUAINAN, CHINA - JUNE 16: A smokestack from a coal fired power plant is seen next to an abandoned former paper factory near the site of a large floating solar farm project under construction by the Sungrow Power Supply Company on a lake caused by a collapsed and flooded coal mine on June 16, 2017 in Huainan, Anhui province, China. (Photo by Kevin Frayer/Getty Images) (credit: Getty Images)

In 2007, China required some coal power plants to install Continuous Emissions Monitoring Systems (CEMS) to track pollutants given off by those stations. In 2014, the Chinese government implemented tighter emissions standards for coal plants. Have those two regulations worked to reduce pollution?

The answer is yes, but with a few caveats.

In a paper published last week, researchers compared troves of CEMS readings to emissions readings from a NASA-owned satellite. They found that while Chinese regulations definitely lowered sulfur dioxide (SO2) levels, there's some evidence that CEMS data shows an overly rosy picture of how large the drop was. Coal plants in key regions were given tighter standards than those elsewhere, and those plants facing tighter standards appeared to miss their targets more often than not.

Read 9 remaining paragraphs | Comments

Amazon expands Prime discounts to all Whole Foods stores this week

Engadget - 4 hours 29 min ago
Earlier this year, Amazon began offering Whole Foods discounts to Prime members and it has been expanding that program to more states over recent weeks. Today, the company announced that all Whole Foods and Whole Foods 365 stores will offer discounts...

Replacing a failed drive in an LVM volume group

I've tried searching but there seems to be remarkably little out there on how to replace a failing drive. I cannot add a new drive first, all available slots already have a drive in them ... this seems to be the most common scenario described in the search results I find.

I tried following this but I think this is outdated or missing a step or has a wrong step in it because two logical volumes refuse to sync, stating they are missing rmeta data, and after resync'ing the other volumes had missing super-blocks (which likely means it wrote over all the data).
I see kernel errors of something like:

device-mapper: raid: New device injected into existing array without 'repair' or 'rebuild' parameter specified

I have another machine with a failing drive in an LVM vg and I'd like to replace it ... and have it go smoothly.

submitted by /u/grumpieroldman
[link] [comments]

How to create an Image from another Image?

Learn Programming - 4 hours 31 min ago

I opened a jpg image in a text editor and copied it, then created a new file with the same jpg extension and pasted the copied image text and it created a jpg file but the image viewer cannot show the image.

submitted by /u/ajay_raj_s
[link] [comments]

HTML5 drag-and-drop... trying to figure out how to use this effectively

Learn Programming - 4 hours 38 min ago

Hey all. Hoping for a bit of guidance here.

I have a situation where I have to create a "tree" of dependencies. Using drop down menus and sequence numbers, I can do this, but it is ugly and unintuitive to the user.

So I thought "why not graphically?" And this is where things start to get confusing.

My scenario is that I have to arrange servers into dependency groups. That is, Server 3 depends on Server 2 which depends on server 1. I can have another dependency group where Server 5 depends on server 4. I thought graphically would be the best way to represent this, sort of like sticking files into a folder structure.






+Server1 <-- Server2 <-- Server 3

+Server77 <-- Server6


+Server 4<-- Server 5

It would look something like that. Or possibly like this:







---> Server2

---->Server 3


---> Server6


+Server 4

--> Server 5

Something to that effect. The idea would be the user would drag a server out of Ungrouped and into Group 1 or 2 (or more groups), and either drop it into the group as the top-level server (so the server that has to be dealt with first), or under an existing server (so it is dealt with *after* the server it was dropped under).

HTML5 has a drag-n-drop function. I played with it for a bit and I think I can make the basic structure work with some fiddling and a bunch of php loops and stuff... but where things go awry is how do I capture this data? How do I "submit" this information to be preserved somewhere? It's all well and good to move things around on a screen, but how do I *keep* this data for later? I'm not sure how to turn this into a form.

I'd love for this to not require a Submit button at all and upload for each change... but that might be a bit beyond what I can get out of a web interface. Should I continue looking at HTML5 or should I change languages?

Or is the drag-and-drop method too cumbersome in this application? I could go with buttons [add server] under each instead of drag-n-dropping...


submitted by /u/HouseCravenRaw
[link] [comments]

(How) can I create a watch application, that has programmatically generated UI?

iOS Programming - 4 hours 40 min ago

I want to create a watch application that has:

  • Multiple Buttons, amount depending on iPhone data/settings
  • Buttons shall be grouped / groupewise swipeable
  • Buttons shall trigger network socket packages (probably watch -> iphone -> network package)

Something like PureLayout looks really neat, but isn't usable on the apple watch if I understand it correctly;

Is the only way to do multi-pages in creating them with the UI storyboards?

Platform/Dependencies: I would like to use Swift and the newest Xcode/Swift/iOS;

submitted by /u/porkchopdiet
[link] [comments]

Report: New AirPods, Apple noise-cancelling headphones pegged for 2019

Ars Technica - 4 hours 41 min ago

Enlarge (credit: Valentina Palladino)

Apple reportedly has big plans for its audio device lineup in 2019.

According to a new report from Bloomberg’s Mark Gurman and Debby Wu, the iPhone maker is working on an upgraded model of its AirPods earbuds, a new model of its HomePod speaker, and a new pair of over-the-ear noise-cancelling headphones, all of which could arrive next year.

Reports of new Apple audio gear have circulated for a few months now. A February report from Bloomberg said that Apple planned to release two new AirPods models, one with a stronger wireless chip and another with a water-resistant design.

Read 7 remaining paragraphs | Comments

Space Drop 1.9 - Drag-and-drop file management.

MacUpdate - Mac OS X - 4 hours 46 min ago

Space Drop is an essential utility for Mac users who want to seriously speed up their workflow. This app makes dragging-and-dropping files much easier with a handy dock that instantly appears whenever you start dragging a file. It creates a temporary place for you to store your files whilst you navigate to where they need to be dropped. This frees up your mouse and makes the process much more pleasant.

  • Add single or multiple files into Space Drop in one go, if you drag in multiple files together, it'll create a stack group of those files combined.
  • Allows you to create a temporary storage space for files and folders you need quick access to or need to collate before dragging them to another app or location.
  • Add files and folders to Space Drop by dragging them to the drop window, menubar icon and/or dock icon.
  • Supports multiple monitor set ups.
  • Supports almost every file type and cocoa application.
  • Control which apps Space Drop will detect dragging on.
  • Customize color, opacity, window position and much more.
  • Works with full screen apps.
  • Supports QuickLook to preview files within your Space Drop.
  • Configure the app to launch when you login to your Mac.
  • Toggle the Space Drop window using a hotkey if set.
  • Right click on files and select delete to remove them or press the trash can icon to remove all files.

Version 1.9:
  • Fixed an issue with dragging from Space Drop to web browsers

  • OS X 10.10 or later

Download Now