Better HN
topnewbestaskshowjobs
Log inSign up

cdevs

240 karma · joined Mar 8, 2015 (11y ago) · 225 submissions

Submissions

comment 10y ago · link · parent

I used "callbacks" when needed in objective-C in my app days and got sh#t done just fine. I think the best thing to come from node is the ability for a younger crowd to jump into proton/electron desktop apps without needing to get into sdl, qt, or some platform specific language like objective c or the .net C# whatever family. Nose might not be the finally language to take us to that area but it's a start and a ton of awesome open source apps came out of the scene quickly.

comment 10y ago · link · parent

It said no communication during but you could devise a strategy before play. What I would do on the first challenge is say I would write down the opposite color of what I see and tell the other person the write down the same color they see so you will definitely at least win $50 "or 100$ if you have the same color". For the suite challenge do the same strategy but split 2 people write down the same suite and have a plan for the other 2 to pick what they don't see.

comment 10y ago · link · parent

Sweet data eye candy, I would love to have a near live version on a screen on my wall.

comment 10y ago · link · parent

This non working prototype code is bothering me....fixed.

<?php

# considering t2.txt contains below two lines

#a c d f n z r

#granc dr ssdo and

#

$file_lines = file_get_contents('./t2.txt');

$split_by_line = explode("\n",$file_lines);

$circular = array();

foreach ($split_by_line as $line) {

        $split_by_words = explode(' ',$line);
        sort($split_by_words);

        $circular = $split_by_words; 
        foreach($split_by_words as $word){
                array_push($circular,array_shift($circular));

                echo implode($circular," ") . "\n"; 

        }

        $split_by_words = null;

        echo "\n";

}

comment 10y ago · link · parent

I like your answer because there is something strange about generalizing a group of people who have dug deep enough down that rabbit hole. Are there signs of a newbie "person A" to a field that they would have more potential to always take on a problem in a better way than "person b". What if einsteins work never involved mathematics and he wrote mysteries about a detective and from his books we could tell this person understands taking on problems and how to learn from failing etc,etc..

comment 10y ago · link · parent

I use Linux, what's flash? Joking, but seriously I would like HBO now to finally work on my Linux boxes.

comment 10y ago · link · parent

Nice design/layout

comment 10y ago · link · parent

I wish my company was this organized

comment 10y ago · link · parent

36 years ago they wrote every popular iPhone game ever.

comment 10y ago · link · parent

Bad programmers will mess any syntax restrictions/guidelines/styles we put on them. If you let them make any function were they can put launchNukes(); into doX(); then they will. though running things as a service may be the future, this launchNukes(); function is over here....safe from you.

comment 10y ago · link · parent

The terrifying thing is how the games location of items can manipulate foot traffic and could show bias of one business over the other across the street in turn manipulating be economy by moving us and our eventual spending around like lemmings....but it's just Pokemon right?

comment 10y ago · link · parent

Man I will forever be grateful for the eye opening insights Snowden has provided to us. I now check for https and use tor and always block cookies. How is there not a monument in every city dedicated to this hero?

comment 10y ago · link · parent

I just hate when I'm in sublime and I hit ctrl+w to search and it closes the file #fml

comment 10y ago · link · parent

If you can get it down to a set of gloves that use qwerty in the office I'm in

comment 10y ago · link · parent

Annnnddddd you lose out on trash talk #personToMyLeftIsAJerk

comment 10y ago · link · parent

We would spend to much time arguing until it's just a one man show at work because one of us believes they know it all.

comment 10y ago · link · parent

Agreed considering I know someone who web scraped a entire dataset because they were selling 2500 sources for $15,000 a year and the API request were sequential ids 0-2500....so just curl 2500 request and call it a day because you didn't hash your ids

comment 10y ago · link · parent

Can't load a flappy bird on new iPhone? Weird.

comment 10y ago · link · parent

Is my job being taken down by the cia? So many meetings and rules! This list is epic I would expect mike judge to write t for Silicon Valley. As for its usefulness in the real world the opposite of each rule should be shown to all management as what to do.

comment 10y ago · link · parent

Just quick bug fixes or the one time I wrote a parsing script for work while waiting on jury duty. Wrote 150 lines of parsing csv and MySQL inserts and it took about the 4 hours I was sitting around...never again if I can avoid it. Should have brought a laptop.

comment 10y ago · link · parent

Frameworks everywhere! :)

comment 10y ago · link · parent

"You can never learn from the 14 laws without experience but with experience you will know what you should have learned from them." -webdude

comment 10y ago · link · parent

I think the server "wall concept" is easy, the client or ease of use is the real problem. it's not hard to keep encrypting until everything is "ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt" that for example could be hi to one person and goodbye to another even though they are all the same letter, the problem is always in keys or the need for them/transferring.

comment 10y ago · link · parent

I started thin Thinking about this all over again lately now that all the easy to mod minecraft clones are popping up, voxel.js or python minecraft in 500 lines for examples. In a minecraft environment it would look a bit less like a employee playing a game and the possibilities are really helpful if you think about them, virtual server rooms you can actually walk into, punch a rack and get a menu, actually punch a connection to take a node offline. Wouldn't mind a way to physically see memory and cpu usage of processes mapped to the size or color of objects in this type of environment either.

comment 10y ago · link · parent

I'm facing this at work and wanting to rewrite, updates are to slow when one small change needs 1000 other changes in spaghetti code in piles of scripts...

Difference is we can roll our users over as they renew and in a year after release all new customers and old will have the same software.

Only about 2000 users not as big as a scale as the story here.

comment 10y ago · link · parent

Managed switch or linksys router how the hell is it so easy to push that much money around even if I work in that "room" and give you access to my computer for a hour there should have been some software to notice somethings going on. The switch is could have been a $10,000 switch and it still sounds to easy. I'd say inside job unless scanning the up range screamed out the company name and some easy vulnerabilities/old software versions which could have also been the case.

comment 10y ago · link · parent

The original machine had a base-plate of prefabulated amulite, surmounted by a malleable logarithmic casing in such a way that the two spurving bearings were in a direct line with the pentametric fan. The main winding was of the normal lotus-o-delta type placed in panendermic semi-boloid slots in the stator, every seventh conductor being connected by a nonreversible trem'e pipe to the differential girdlespring on the 'up' end of the grammeters.

comment 10y ago · link · parent

Pull request , one line changed -My team has a fairly has a fairly standard github +My team has a fairly standard github

comment 10y ago · link · parent

Sounds like you guys just need a in house style guide..it does get weird when I can tell a person wrote this half of a program and then tell someone else wrote the other half due to spacing or bracket returning

comment 10y ago · link · parent

I can relate . "Here be dragons".
1
45678