Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "open"


The new MacBook Pros are overpriced

  • Gone is the advantage they had with the first Intel based Macbook Pros in terms of quality and durability (Windows wasn't great also at the time and I was tired of Linux on the desktop).
  • Today I tried to compare the Dell XPS laptops (13" and 15") with equivalent configurations of MacBook Pros and well...
  • The biggest hardware quirk of the Dell XPS is the placement of the webcam (at the bottom!?), but MacBook Pros have that ghastly touch bar and the weird butterfly keyboard people like to complain about.
  • This is the reason why I have always used only *BSD/Linux boxes, though I'll get MacBook for development from my new employer.
  • I will most likely make the switch, but I think I will mostly miss the better support for command line tools in Mac that come pretty much out of the box.

save | comments | report | share on


A Weird and Wonderful Trip through Ruby’s Standard Library

  • I use Ruby primarily for writing web applications, but Ruby's rich history as a scripting language means that there's lots of functionality I don't use every day, and probably lots that I don't even know existed.
  • But it's not the most developer-friendly of names, so Ruby's English module provides some helpful aliases: $PROCESS_ID and $PID.
  • This is a pretty small thing, but I think it's a perfect example of Matz's original goal with Ruby, which was to create a language that's understood by humans first and computers second.
  • The only uses of Abbrev I can find are in RDoc, and a miscellaneous script in Ruby core, but I imagine one could put it to good use in things that need command-line autocompletion.
  • Have you found any other fun Ruby modules, or can you think of another use for Abbrev?

save | comments | report | share on


Tiny python docstring tip

  • When defining interfaces in python using the abc.ABC metaclass, sometimes it gets pretty annoying to have so many empty methods, waiting to be filled in.
  • All these uses of pass always felt pretty ugly to me, and luckily there is a solution!
  • Because docstrings are simply a string expression in the start of a function - you can just let go of the pass!
  • Now isn't that so much nicer?
  • DEV is a social network for software developers to level up their craft.
  • It's free and it's fully open source.
  • We’re a place where coders share, stay up-to-date and grow their careers.
  • We strive for transparency and don't collect excess data.

save | comments | report | share on


UCLA to faculty: consider refusing reviews for Elsevier, go open access instead

  • of California at Los Angeles, administrators have encouraged professors to effectively boycott the publishing giant as the university system negotiates a new contract for access to the company’s journals.
  • The University of California at Los Angeles has turned to an unusual bit of leverage as its system negotiates with Elsevier, the academic-publishing giant: its own faculty’s research.
  • In a letter on Tuesday, campus officials asked faculty members to consider declining to review articles for Elsevier journals until contract negotiations “are clearly moving in a productive direction.” The letter also asked professors to consider publishing research elsewhere, including in prestigious open-access journals.
  • Reaction to the university’s letter on social media by faculty members inside and outside the UC system skewed positive, with professors praising UCLA for using its clout to promote open access and to disrupt publishing as an industry.

save | comments | report | share on


Conditional Column Join in SQL

  • Given write a query to pull all rows/columns from the tables below where numbers and letters match.
  • If a letter is null include all combinations of colors with shapes in the output.
  • Hmmm, we seem to have a lot of rows...looks like every combination of shape, color, and letter which is great for 2's but not so good for 1's.
  • A conditional column join is a fancy way to let us join to a single column and to two (or more) columns in a single query.
  • A case statement allows us to test multiple conditions (like an if/else if/else) to produce a single value.
  • We then check if the output of the case statement is equal to 1 (the "end = 1" part of the join), if so the join between the two rows takes place, if not the row is dropped.

save | comments | report | share on


License Changes for Confluent Platform

  • This new license allows you to freely download, modify, and redistribute the code (very much like Apache 2.0 does), but it does not allow you to provide the software as a SaaS offering.
  • That small Kafka team wrote the code, ran the service, as well as tended to the open source community and eventually helped convince LinkedIn to move the project into Apache.
  • In that model, we’ve found that permissive open source licensing such as Apache 2.0 can be the major component of a thriving software offering that sustains a healthy business.
  • We think this is a positive change and one that can help ensure small open source communities aren’t acting as free and unsustainable R&D for tech giants that put sustaining resources only into their own differentiated proprietary offerings.

save | comments | report | share on


Let’s discuss bullying in the workplace and depression.

  • If you saw someone being mistreated in the workplace, regardless of age, gender, social status, would you step in?
  • If you’re ever feeling lonely, sad, stressed, or even depressed about work, or life, what do you do to mediate this feeling, and how does it help you?
  • I have always worked in a small startup environment and maybe I'm just lucky but I feel like it is harder to be toxic to each other when we know that we need each other.
  • Whenever I feel mistreated by a company I go to the managers to complain about it, if it's fixed I stay if not there are, literally, hundreds of companies where you can work.
  • DEV is a social network for software developers to level up their craft.

save | comments | report | share on


Conditional Column Join in SQL

  • Given write a query to pull all rows/columns from the tables below where numbers and letters match.
  • If a letter is null include all combinations of colors with shapes in the output.
  • Hmmm, we seem to have a lot of rows...looks like every combination of shape, color, and letter which is great for 2's but not so good for 1's.
  • A conditional column join is a fancy way to let us join to a single column and to two (or more) columns in a single query.
  • A case statement allows us to test multiple conditions (like an if/else if/else) to produce a single value.
  • We then check if the output of the case statement is equal to 1 (the "end = 1" part of the join), if so the join between the two rows takes place, if not the row is dropped.

save | comments | report | share on


AoC Day 14: Chocolate Charts

  • Much like the marbles a few days ago, it's looking like we're looping over some scores and adding in some new ones.
  • The key insight is you're going to eventually need a very large array but we only ever append to it, so preallocating the buffer is a sensible idea for performance.
  • I'm storing the values as the ASCII characters for the digits, so one high-level language comfort is a helper function to pull out the values.
  • The other tricky part is that we don't know how many digits are added to the array each iteration, so we can't assume the target string is right at the end.
  • We know it is near the end though, so I therefore search for the target string from 5 characters before the old end to the new end of the array.

save | comments | report | share on


Our Ownershipless Future

  • In its essence, it’s what a marketplace is, but the medium traded has changed from physical goods, imagine a flea market, to services – driving (Uber), renting (Airbnb), etc.
  • It’s a great value for money, but there’s something different here – with the platform subscription approach, you are essentially locked into the binary choice of everything or nothing.
  • People like physicality, as it’s easier to associate a memory with an object, just like we do with a smell or a song and we get transported back in time mentally.
  • It’s almost the end of 2018 and we see how Apple is slowly turning into a services company and is diversifying away from manufacturing physical devices.
  • Netflix, the most prominent platform business model success story, ironically, realized that if you don’t own it, you are not in control.

save | comments | report | share on