HNHacker News
TopNewBestAskShowJobs

coroutines

440 karma · joined February 21, 2015

submissionscomments
coroutines··on Why Concepts didn’t make C++17
I mean to say, the compiler might see std::vector<a> and std::vector<b> as strictly separate types, but at their base/binary might be code that is identical (effectively std::vector<int>). I am imagining that the compiler would generate code for both, and not see the opportunity to deduplicate identical object code. Again, I suspect I am naive here.
coroutines··on Why Anti-Authoritarians Are Diagnosed as Mentally Ill (2012)
You definitely have a point.

I imagine there is no good, scientific method to determining how someone should be motivated that we can train teachers with. Just have to trust they're human enough to see our inspirations before they apply their method. We can't all be amazing psychiatrists, and adults have a lot of influence on us at that age. I too benefited from a stand-offish approach to learning.

I wish the better teachers were paid more to be in our schools - I had a teacher that completely ruined my love for animation.

Largely I think schools exhaust kids to get them to change/conform.

coroutines··on ES7 async functions – a step in the wrong direction (2015)
I might have been a little dramatic. :3
coroutines··on Why Concepts didn’t make C++17
So... I'm not a C++ person. I think what I'm going to say next will sound like someone who speaks English as a second language.

I don't like templates at all, I think it's just an even greater hack than how the preprocessor might be used in C. The only place I have liked macros [essentially] is in Lisp.

Something that bothers me about C++ is when a program might instantiate a template like this: std::vector<int>

I'm sure vectors of ints is quite common. I wish C++ could share that generated object code (not the instantiated template at compile-time). I've heard of `extern template` but I don't think it gets used. Even then I wish you didn't have to tell the compiler to look for external versions of the template instance. I wish the compiler could aggressively look for and link to instances that have the same binary representation - even if they have disparate type information. That kind of analysis would probably be easier if C++ had a defined ABI.

I am not a C++ person, so I am sure I'm wrong more than a few times in this post. I wish C++ had a standard class to represent classes, so then we could construct a very generic object heirarchy like Ruby. I don't just mean support for reflection. I also want partially-defined classes for monkeypatching, but people tend to disagree with that for ethical and performance reasons.

I've been happy to see a lot of languages enable expressiveness/freedom to do whatever the hell you want in the last 10 years - instead of people forcing their mentality of how you should code and think about problems.

</ramble-ramble>

I am happy concepts were not added. The preprocessor &and& templates should die.

coroutines··on ES7 async functions – a step in the wrong direction (2015)
I primarily work in Coffeescript.

A lot of the things I love from Coffeescript got picked up in ES6/ES7, so it wasn't a big deal for me to transition. :-) (sad that Coffeescript will decline when it has more to offer..)

I had to work on an ES5 project recently and I was almost in tears because I couldn't use a computed property. (someObject[someValue]) I wound up writing a switch to assign the correct index, and I felt very sad about my life.

Someday people might not learn about how we kept things private in closures. They'll have a `private` keyword to make their transpiler do it for them. It has become less important to directly know how inheritance works, so people might be happy having a `class` syntax. There are a few times I've wanted to make an object fallback on another without making an official "class", so maybe this will be secret juju someday.

I tend to view language development like overfilled buckets. When JS becomes as complicated and unwieldly as C++, we'll spill into the next bucket in an effort to create another simple language.

coroutines··on I've Just Liberated My Modules
I think I'd just want to add that namepsacing by author doesn't entirely fix the problem. For the fewer instances where there is a collision, we still have this issue with lawyers asserting trademarks.

"Would the real Slim Shady please stand up?"

We want multiple 'kik's and multiple Shady's simultaneously. So record the gpg sig of the author in package.json, and filter the name + semver against just their published modules when updating.

Depending on how unique you need to be:

npm install <module> --save

npm install <author>/<module> --save

npm install <gpg>/<module> --save

On a side note, npm-search really sucks. It lacks a lot of fine-grained filtering. I'd love to be able to search by tags, or exclude results with an incompatible license, or even prioritize results by specified dependencies. npm-search needs love.

coroutines··on Apple Encryption Engineers, If Ordered to Unlock iPhone, Might Resist
Apple absolutely needs to comply with the FBI's request.

And then give the same capabilities to the governments of every country they do business in.

Our politicians might actually fight for our interests in digital privacy/security if theirs is directly threatened by the governments of China, Iran, North Korea, and Russia.

If our government needs this to do lawful search and seizure, so do all these others.

I'm tired of our gov acting like they're above reproach and somehow more deserving than any other naive government. History has shown they can't protect us from terrorists 100% of the time, and it shouldn't come at the expense of our civil liberties - at the expense of the principles and detracting from the identity of what makes us American. They can't even protect the information of people who elect to share their privacy with the gov (OPM breach/leak of which I was a victim). They shouldn't have the ability to violate the security of [realistically] billions of phones. It's absurdly overreaching and a massive abuse of the authority we "give" them.

Caveat: Not complying and this other plan of action would both upset stockholders.

coroutines··on Open Sourcers Race to Build Better Versions of Slack
Traditionally offline message caching would be the responsibility of a bouncer, or something like memoserv. There is an interest to make this responsibility part of the server in IRCv3, though.

IRC scales much, much better than Slack. Unreal or InspIRCd or Charybdis whatever - Slack fails miserably for hundreds of thousands of users in one "team"/network.

I do agree administering/configuring IRC servers has to get nicer. I personally want an IRC server that exposes a REST API for online configuration (no rehashing of a config file).

coroutines··on Open Sourcers Race to Build Better Versions of Slack
I remember like 8 years ago my friends and I avoided XMPP because XML + the overhead of XML.

Now we have more bandwidth, and sending XMPP as a server is negligible.

I just would prefer JSON to XML. :-)

coroutines··on Open Sourcers Race to Build Better Versions of Slack
Twitch is fairly-conforming to IRCv3... they don't prefix their non-standard capabilities with their domain in CAP LS. :>

I'm sad because I applied to Twitch directly stating what I'd want to work on with the IRC portal and never got a response. My entire work history is IRC. XD

coroutines··on Open Sourcers Race to Build Better Versions of Slack
As someone somewhat related to an IRC project, it's frustrating talking to people who love Slack because most of what they want is something that would be supported in an IRC client - not the IRC protocol.

Semi-related:

IRCv3 is an advance in the right direction, but I wish they would make huge breaking changes now - instead of introducing new standards to manage a migration to "later IRC".

Two things I want to see are IRC encoded as JSON, and TLS-only servers in the standard as a requirement. They added message tags which I think just makes IRC ridiculous to parse - if the objective is to extend IRC and add ancillary data to the message they should just use JSON already. I think it's a bad move to allow some intermittent migration path if we all know the end-game is IRC encoded as JSON. It'd be dirt-simple to autodetect if you're receiving JSON or traditional IRC, too. You don't need a CAP exchange to tell you "oh look, it's gonna be fucking json, m8".

An example a feature IRC would need to change for is the ability to edit messages. Slack lets you go back and correct already-submitted messages. You don't have this ability in IRC - and there are ethical reasons to not support it. Personally I'd be in favor of IRC having a command for editing messages, and then clients keeping the entire history of edited messages - so you can always see the original. It's not like the server can take that data back - it's jsut assumed clients would show only the latest, revised version of a message.

I could also see having the IRC server support a virtual DCC user to upload files to - so then you could emulate file attachments like you have on Slack. This is something that can be abused though - file uploads are a security and DoS concern. Slack can support certain things because the infrastructure is paid for - with IRC networks it's largely a "free" operation.

In the past I've made a "Hookbot" that triggers and POSTs to outside services just like Slack. On some IRC networks there are network-vetted bots you can request in your channel to configure and make use of. You can largely support everything Slack does in existing IRC, we just needs standards to add some coherency and expectations for developers/users.

UX does matter, I completely agree with you - IRC needs to change minimally to support those Slack-like features, though. Clients need to change. Most of the draw of Slack is embedding linked items in the chat for convenient viewing. Even icky Mibbit does that :p

coroutines··on Millennials Flee Vancouver for More Affordable Cities
Respectfully, I would not consider Amazon a champion of good working conditions. :>
coroutines··on If So Many People Support Mass Transit, Why Do So Few Ride? (2014)
Maybe I'm weird.

I take BART quite a bit in the bay area (California). I find it timely and reliable - I've never been inconvenienced by the few moments where operators strike. It's just happened that I didn't need to ride BART that day.

My best experience was when I got on the wrong BART train (to Richmond) and had to double-back to a transfer station to go to Livermore. I was only late by 10 minutes. I got off the from-Richmond train and transferred to the train I wanted and it was off in literally less than 15 seconds. BART is incredibly efficient (imo).

That said - it would be a much better experience if it were cleaner, people could eat on it (and not be dicks with their garbage), and if we had a guard in every car to keep aspiring artists from performing and then asking you for money for their impromptu show.

I guess I have perfected my resting bitch face - I don't get asked for donations that often. :-)

In college I also rode the RTD buses out of Stockton. Now that was a poor experience. Frequently late drivers, and I witnessed 3 homeless men stand up and urinate on the floor - on separate days over the same semester. Oh and the bus they usually sent was too small for the neighboring town I'd get picked up at - I'd often have to stand for the hour-long ride on that route. (think short-bus for special education - standing + no room)

coroutines··on Show HN: Blueprint3D – Design interior spaces in 3D with WebGL
This is the Cities: Skylines I was looking for. :x
coroutines··on Ask HN: Who wants to be hired? (October 2015)
I guess I should also say I am looking for entry-level to junior work as I am looking to gain experience on the frontend side of things. I am open to anything but would prefer remote work if it's an option.

Really I would do anything to learn ~ even if I'm only doing data entry. I can program, QA, document, transcribe, research ... I've had my more successful friends peer-review my resume - I'm not sure why I seem to have bad luck getting hired. I have had interviews but I live in California and it seems awfully competitive for new devs.

I would happily relocate to Portland, Seattle, San Diego, or Chicago. I would work for any company except Amazon. :> (I have applied several times and never heard anything back. I've also read some things I don't agree with relating to working conditions..)

coroutines··on Ask HN: Where do you look for work if you need experience?
I actually felt really bad about my Github after I started applying because most of the repos I had were forks of things I wanted to work on but hadn't gotten around to. I felt like I was taking credibility from others so I spent an afternoon deleting a lot of untouched inspiration. I do think applying for jobs is like throwing spaghetti on the wall and seeing what sticks - but it's such a waste of good pasta :(

(I swear that's a metaphor with deep meaning)

Anyway, I'll go look at dice.com right now, though :-) - my pool has been craigslist, indeed, linkedin, glassdoor, assembly, caljobs, and.. I know there are a few others :s

This might be an unpopular opinions but I sort of wish there were just a government-run site for posting your resume and connecting you with companies. If I ever do get hired I'm sure identity theft is soon to follow from all my applications :(

coroutines··on Ask HN: Where do you look for work if you need experience?
I still can't get used to $100k being a realistic salary for an experienced dev. It seems so astronomically high - I live at home with a mom who has supported our family of 4 on $45k/year before taxes for over a decade. I do hope to use a minimum starting salary to my advantage, it just feels like I can't gain independence and save for my future with rent being what it is in the bay area. It definitely makes sense to find a roommate though..

Thank you for your childhood. -- oh, I mean input :-) Just having a flashback to The Giver..

coroutines··on Ask HN: Where do you look for work if you need experience?
Thank you for another resource, I found this that I think I will apply for: https://www.jrdevjobs.com/jobs/1438869644aa61299d
coroutines··on Ask HN: Where do you look for work if you need experience?
I did say SF - the fellow before me said internships were paid in Silicon Valley so I was curious if there was a leg that added to BART to get there.

I just don't know what companies expect for frontend work - I have been doing the tutorials for React, Meteor, Ember, and Angular but this sounds more like backend work to me. Should I be looking in the direction of markup languages? I have used HAML to work with data in YAML, I need to conquer SASS, LESS, and Stylus I think.

I feel pretty confident about my language list - IRC kinda 'raised me' on programming.

C, C++ (templates are still hard), Java (don't know popular libraries), Ruby, Python, Lua, Coffeescript, JS, Lisp, Haskell (can read, not write..), Erlang, Elixir (beginning), PHP, ...

I just mean to say I do know Python quite well - I worked through the Violent Python book a month ago and loved the hell out of it :-)

Thank you for your feedback - I just wish I had a better idea of what is frontend. Imo things like React blur that line building components against the backend so closely?

coroutines··on Ask HN: Where do you look for work if you need experience?
Hmm. I hadn't thought about 'no learning on the job' as 'this will stall my career development'.

You make a really good point. There is a certain area between 'you don't have the skills needed to become useful' and 'you can pick these up in short time' - but I think I have been looking at this wrong another way. I do apply to positions I feel I'm unqualified for (within reason), but it's also ridiculous for me to think companies expect all-knowing engineers. Any other trade would have a worker learning new skills on the job.

My resume does change fairly often - I had an interview a couple weeks ago where I was a little embarrassed because I went in with my current version and they pulled out the resume I had from 5 months ago. I was like, 'er... may I see that?'

On a side-note I think wining and dining potential employers is a fabulous idea, even friends for interview practice.

Thank you for your feedback <3

coroutines··on Ask HN: Where do you look for work if you need experience?
Oh cool! -- I had seen meetup.com before but I hadn't used it myself. Thanks for giving me another space to look through :-))
coroutines··on Ask HN: Where do you look for work if you need experience?
I do like this idea - have you done this before? I am no contract lawyer, but it'd be good to know what specific terms you should outline for the probation period so that the company feels safe and you aren't being taken advantage of.

Side-thought: Is there a limit to how long someone can be a temporary employee? You hear crazy stories like people only being made permanent after a couple years of layoff-rehire.

coroutines··on Ask HN: Where do you look for work if you need experience?
I think part of the time I'm frustrated looking at QA positions that are largely dealing with customers vs QA testers who work more with developers. Still, a paycheck is a paycheck and I could probably use the experience either way.

Thanks for your input :-))

coroutines··on Ask HN: Where do you look for work if you need experience?
I don't think BART goes to Silicon Valley - is there something to connect the two?

Yes, Lua is very much a niche. I tried applying at Cloudflare because they use the Lua module for nginx - that is definitely in my field as I use them both already. I'm haven't heard back but they've had that position (Lua Engineer) posted for months now. I think my resume might be sitting in a stack.

I had hoped my community college AS in Computer Science would account for something, but when you compare it to those who went to uni I'm sure it's greatly devalued. I like to learn on my own as needed, but I can't show that on paper (can I?). I do feel that I know algorithms fairly well - I spent last week learning the Paxos algorithm so I could apply it to database (mirroring?). I have fun doing things like that, it's just not something I can say I'm accredited for by a university.

I hadn't been getting interviews for a few months but I managed to get 4 all last week (when it rains, it hails?). I was nervous for the first interview but because it was for a friends' company I think I still gave a good impression with him vetting me. I had an easier time admitting my limited frontend experience in the subsequent interviews with other companies. I actually think the way I said this made me appear stronger, like I expected to have no trouble picking it up quickly.

Anyway, I've been trying to decide if I should throw myself into a project to show my ability through Github. I'm torn thinking I should be devoting all my time to the job hunt, but many of my friends have done this to get noticed..

I appreciate your feedback, thank you sir <3

coroutines··on Ask HN: Where do you look for work if you need experience?
I really appreciate this reply, I hadn't thought about essentially cold-calling companies that need devs but aren't advertising.

My problem is I live in a small town that's really only residential and fast food - no real industry or large companies here. While I love public transit my transportation beyond that is limited (no car) -- which is why I wish I could get hired in SF, I can easily make it to that tech center. I have looked at the Who's Hiring post, but I wish I could find more companies interested in Coffeescript/JS or Lua that are willing to help with relocation - even remote work.

I have had friends look over my CV, and that was amusing - I had a section that essentially read like "He enjoys long walks on the beach and talking about American Idol". I was trying to sound more like a human than a machine. A friend rightly informed me that this sort of personality information would be best disclosed at an interview. After that I added a bit to my 'Experience' section - work that I had done for friends while acting as a system administrator. I get a little upset when I have friends who are more qualified in security fields and they get hired very easy - it seems like their resumes aren't formatted as nicely. Qualifications really do speak for themselves.

I think I'm just upset when listening to grandparents talk about how 'back in their day' they could easily go find an apprenticeship. I wish I could find the same for webdev, frontend work. I usually go to DEFCON each year if I can save for it, but I haven't had as much luck networking at that. I think most people show up to DEFCON to drink, really.. (not a bad thing)

Anyway, thank you for your kind advice, sir - I will adjust my search <3

coroutines··on Io.js v3.0.0
Ah, seems semantic versioning is all the rage nowadays.*

Fixed it!

coroutines··on Now that we have IPv6 – do we need TCP/UDP port numbers anymore?
Hmm. I think I'd rather have services that disconnect/warn properly when fed invalid/other-protocol data (in a world with or without port numbers).

I really liked your reply :-)

coroutines··on Now that we have IPv6 – do we need TCP/UDP port numbers anymore?
I do not think this would be so - you would still be under the same route summary/network prefix advertised to you by your ISP's gateway :> Not everyone would get an IPv6 address like this so I do see the waste otherwise ~
coroutines··on Now that we have IPv6 – do we need TCP/UDP port numbers anymore?
A year or so ago it seemed like SCTP was actually going to be a thing someday.

If SCTP did become the protocol we transition TCP/UDP to - should port numbers stay? (iyo)

coroutines··on Now that we have IPv6 – do we need TCP/UDP port numbers anymore?
I originally asked about this in the wrong place.

http://www.spinics.net/lists/kernel/msg2001254.html

I hope this is the right place >.>

← PreviousPage 5 of 6Next →