skysight-inc/HackerNews huggingface dataset:
* Emacs org mode to prep for meetings, maintain TODO lists, and general notes

* Also keep Slack open when I am working. If someone needs something, they can ping me on Slack and I will be available within 5-30 minutes.

* Gmail stars for everything I can't address immediately. Everything else is dealt with immediately and inbox count is 0 for most of the day (both work and personal addresses).

* Iphone calendar (with alarms) for everything I am putting off for later or need to schedule/remember

* Iphone notes for everything I am putting off indefinitely (movies/books/games to consume, gifts to gift, songs to learn, general goals for the next few years, travel destinations, events)

* Occasionally I leave things out of place so that I remember what I'm doing next time I leave the house (tennis racket on the bike + tennis shoes and shorts/compression shorts in my bag)

That's pretty much it. I really don't like having to keep things in mind. And when I want to zone out on a run or a vacation, I can safely do so knowing whatever I need to accomplish is on one of those lists and will probably get an alarm from my calendar if its urgent. I used to love using Pocket for reading papers/articles when I don't have a reliable connection, but its completely broken now and doesn't save pages consistently or renders pages unreadable.

IMO maintaining a wiki is way too slow and (depending on your work place) only accessible across VPN, which is incredibly inconvenient. Paying someone to act as scrum master/maintain a kanban is generally a waste of money/time as well, unless you work at a huge company (10,000+ people across hundreds of teams). But I'm biased and have always had a strong preference for small teams.
Are there any legitimate wikipedia competitors though? I still view genius and hypothesis as not in the same field of "encyclopedia knowledge base." To really be a competitor to wikipedia you'd need to look like an actual wiki in my opinion.
It is, sorry,I should have specified. Also I don't think many people would use a loop like that when foreach is available.
> multi user hypercard

sign me the fuck up
This demonstrates the general move in the marketplace from companies developing software, to instead hacking out quick product for fast money.

The startup mentality has made this worse, and continues to do so.

Good software requires thought and time to get right. Unfortunately, those people buying software are often willing to pay for low-quality hacks these days, in the name of a quick fix.

It's just another commodity now, and as such, like many other products, more about cost than quality.
If your switch is more than a few lines, the Pythonic way is to use a dictionary, rather than many if-else statements. A dict is roughly as concise as a switch, and it's also much easier to work with and extend.

Following the principle of "There should be one--and preferably only one--obvious way to do it," switches in Python are redundant. If you want branching logic, then use branching statements (if-else). If you want mapping, use a dict. The hiccup is that many programmers new to Python don't actually know what a dictionary is--or at least haven't used one before--so it's far from "obvious" to them to use it.
> people that just needed time used their phones. I haven't seen a person with a digital watch for a while

I kept my watch. Still wear it. My Fermi estimate is that it's 100 times faster to check the time on your watch than on the phone you have to get out of your pocket. It makes a big difference.
Sandi Metz has a talk where she speaks about her dislike for if https://www.youtube.com/watch?v=OMPfEXIlTVE
that's easy - I simply forget
This should be the best approach. I thumb up.
How VMware NSX Enables Enterprises to Deploy/Operate Containerized Apps at Scale
For the entire extent of the non-compete or for the entire time of your job? If it's the former then maybe (Germany requires at least 50% gross for the extent of the non-compete, and it can still be struck down by courts if it unreasonably hampers the former employee's ability to find a new job)
> One anti-pattern I've seen a few times, across multiple codebase and companies, is the for i in 1...cases: switch(i)

Also known as the "for-case" loop. Version 2 is a prime example of this, and what not to do. It processes case 1, then case 2, then case 3, then case 4. The author rewrites it as one loop of 64, but four loops of 64 each would also be acceptable.

> To me, his first example fits this perfectly, except he is using ifs instead of a switch. Basically, if you are generating a big, trivial sequence and then filtering it down afterwards, think harder and probably there is a way to generate the sequence you are actually after directly.

Now you're talking about a different problem. The conditionals in the first version do not iterate through like code doing "switch(i)". I agree that it's better to directly generate than to filter, but that's a totally separate anti-pattern.
Creation of a new type of weapon cannot be separated ethically or conceptually from the ways the weapon will be used. The design of a weapon influences the manner of its use, and that is unavoidable. The same is true of all objects -- design influences behavior. This link is inextricable.
I think it's fair to say that there isn't a single tool that can satisfy all your needs. I'm meticulously organized but I doubt I can get anything done with just a Wiki or any other tool. You also have to remember that in many cases, staying organized also means collaborating with other people who may not share the same opinion as you about various tools.

It took me a long time to find the right mix of tools that are ideal for my specific workflow. These are the tools I mostly rely on now:

- Outlook.com (with custom domain) for my personal email. I find Outlook's 'Sweep' feature a lot more feature rich than Gmail's filters. I have rules that automatically move newsletters over 3 days old to archive and then delete unnecessary emails over 10 days old automatically.

- I've grown to like Wunderlist a lot for personal tasks. It has its limitations but it gets the job done well. I don't bother with many folders etc. I just throw everything in the inbox and add due dates to it. Inbox is sorted by due date. Works great for me. Also, it integrates well with Outlook.

- Evernote is where is store anything that's remotely relevant to me. Again, I don't bother with multiple notebooks. I have 2 main notebooks - Inbox and Cabinet. All notes start in Inbox. When they are no longer needed for my day to day work, they are moved to Cabinet. All notes are meticulously organized with tags. I am contemplating having a 3rd notebook called Library (offline notebook) with all my favorite online articles tagged by topic. This might work better than a Wiki to be honest. I also use their browser extensions a LOT.

- I use aText snippets inside Evernote to log call notes, meeting notes etc. using a standard format. I have quite a few other snippets that I use in other applications as well.

- All my favorite articles are in Pocket

- All my personal files are on OneDrive. Work files are on Google Drive (it's easier to collaborate on Google because everyone I know uses Gmail / Google Apps).

- Work tasks are on Trello

- Photos automatically organized on Google Photos

- My code editor (Visual Studio Code) settings are automatically backed up on GitHub Gist using https://marketplace.visualstudio.com/items?itemName=Shan.cod...

I also use a few other tools occasionally but mostly rely on these for everything. Like most people, I wanted one tool to fit all my needs but I came to accept that it's just not possible considering the complex needs of each function. You might not think about it but, task management in itself is more than just a simple list of to-dos that requires a lot of programming to be done right. Stop trying to find a one-size fits all tool. Leverage multiple tools and integrate them together. For instance, Evernote talks to Gmail through a browser extension so you can always save an important email easily. You can also create more complex workflows using IFTTT. That would be the best way to organize yourself.
I think you just agreed with the parent comment.
We are talking about 12 years ago and since then monotone hasn't gotten much love, while the others have.

I did find some benchmarks from 2009 and by then monotone shows consistent by often 5x slower performance than git:

https://web.archive.org/web/20090131095353/http://ldn.linuxf...
Noise is much more noticeable in dark areas of an image, so having a method to produce a HDR image will naturally improve the noise.

So, I think this camera could quite easily compete directly with a DSLR on photo quality - but a good DSLR will easily be better in low light conditions.
But then wouldn't they be better off doing DDOSing for hire? Just a thought
The question is whether it's symmetric speeds and in-metered. Asymmetric speeds with caps is a fantastic way to offer 1Gb speeds with almost none of the real benefits or innovation opportunities.
Which is why you rarely see successful lawsuits by companies toward former employees on this matter.

Law is solidified by precedence and the rulings have been more and more against employers, rightly so. It's OK to trust in the system on this matter, as no one is ruling for employers on the matter.
I definitely agree with this, but note that the semantics in your code are different from those in Linus's example - your code filters out ALL matches.
Not so. It's easy to make a really good small lens - the article mentions that the modern smartphone lenses are dirt cheap and diffraction limited. It's really hard to make a large lens diffraction limited. The advantage of the DSLR is the sensor.
As a knowledge worker, I've found that there is no 'best' way of organising information. It depends on what it is that you're doing.

Having said that, the things I come back to are Trello (Kanban-style boards), Pinboard.in, a personal wiki, and Google calendar. I like everything web-based so that I can access things wherever I am and whatever device I choose to use.

Over and above that, I use a paper-based daily planner that I've iterated over time. I pull everything to do that day on to it, then bin it at the end of the day.

Version 3 is here: http://www.slideshare.net/dajbelshaw/dougs-daily-planner-v3 (CC licensed)
Threepointone/glamor: inline css for react et al
I agree with you that moving the conditional to the beginning as an early exit keeps things simple, and while I don't see anything unusual about a 'while' loop and feel they have their place, this 'for' definitely works well.

I would make one small tweak, replacing this line

prev->next = prev->next->next;

with

prev->next = entry->next;

Just makes it a bit more straightforward to understand (as well as infinitesimally more efficient).
The code might be short and to the point, but it definitely is not easy for me to understand!

The code feels like a bit like clever perl one-liners.
> Unfortunately, this video is not available in your country because it could contain music from UMG, for which we could not agree on conditions of use with GEMA.

(on Bach_Brandenburg Concerto No. 2 in F, https://www.youtube.com/watch?v=olLi5RtE_6M&list=PLA5Z0m2JKy...)

I find it telling and sad that the same music that we're sending aliens presumably to represent the human race cannot be freely accessed here on Earth for bullshit business/legal reasons.
How to get more followers on Twitter free and safe
I'd suggest Tuxedo Computers - http://www.tuxedocomputers.com

I bought the TUXEDO Infinity Book - 13" Full HD screen, 16GB RAM, Intel Core i7-6500U, 1.4 kg only. It works ok, I'm using Suse Linux + Cinnamon Desktop Env. There are two things I'd improve on the laptop: the touchpad could be of a better quality, the Intel Dual AC 3160 wlan does not have the best reception (may be a problem with the antenna?).
You can cross-link in Evernote and OneNote. Also, Evernote has a great feature called Context which is activated if you pay for a subscription (worth it) that automatically shows you relevant notes based on your current note. Also, Evernote is a lot more portable than a Wiki so you can carry it around and search through all your notes (including inside PDFs and other documents, OCR and images).
This version is more clear for a human, but it does contain duplicate logic.

This line:

head = head->next;

is another form of this line:

prev->next = prev->next->next;

Both delete by setting "->next". Code duplication is a common source of bugs, and that's the rationale behind Linus's version, which eliminates duped code.
There's a lot of research that shows that polyglots exhibit different personalities when conversing in different languages. Empirically, I experience this.
Zo geef je je jack russell pup de beste opvoeding – Goedomteweten.be
Redux Without React – State Management in Vanilla JavaScript
To hell with caching!
How do you leave the site if the back button doesn't work??
The fact that companies are unwilling to pay you to avoid harming them after you no longer work for them proves very little in my view. I understand that a non-compete could reduce potential future earnings, but prospective employees should take that into account, as you seem to have done.

I commend you for looking out for your long-term self interests, and agree that more people should carefully scrutinize their employment agreements. This does not bring me to conclude that non-compete terms should be banned, as they are simply one of many terms of the contract which should be priced appropriately.
It's quite expensive, especially if you only need one feature from one package that depends on multiple other GPL packages (which is most of them). Everything included we got quoted over $25K for a feature which was decidedly non-trivial, but the cost was still well above the "let's license it instead of re-implementing ourselves" threshold.
Why did you do that? HN tries hard to avoid middle-brow dismissal, which GP was.
Yes, and potentially driverless trucks are much more efficient than driven trucks, in terms of energy usage and human effort. Trains will probably still remain more efficient than either, I wasn't saying get rid of trains.
https://en.wikipedia.org/wiki/Linguistic_relativity

"Linguistic relativity, also known as the Sapir–Whorf hypothesis or Whorfianism, is a concept-paradigm in linguistics and cognitive science that holds that the structure of a language affects its speakers' cognition or world view."
Control + ] or Control + [ is frequently the escape character, although not always. You can usually type it with Control + some key right of P. In the Swedish keyboard, use Control + å, German is Control + ü. But it does vary wildly, French is Control + 6, Hungarian is Control + 5, and so on.
If you love to learn, you can always ask follow-up questions. The author's complaint is monologuing while your audience tunes out, a problem by no means limited to academia.
I think this article misses the point of containers, by focusing on how they're currently implemented (and is a clickbait title anyway)

Sure, it alludes to the fact that they're an abtraction... but that is the point.

If a new implementation comes along, my container is still fine and running, yet this article is completely out of date.
That website doesn't load, but I guess it's about this toolkit: http://www.igniteui.com/
Sad indeed :/
Part of the downside I was trying to convey is that a lot of the PHP work available is maintaining or fixing truly horrible applications, and that while skilled PHP developers are as productive as skilled developers in any other language, unskilled/novice developers are much worse as a consequence of learning all the wrong lessons from random code examples that they find through search engines.

It is actually quite difficult to deliberately create a web application in Python that is as bad as one of those "shopping cart with all the HTML, SQL, JS, and CSS interleaved in a single PHP file" examples that a novice will find and learn from. A novice is highly unlikely to manage it through ignorance even if they somehow manage to avoid using a framework.
Well, Stansted is kind of a giveaway, right? It's the RyanAir airport.
I'm Dutch, consider myself well-informed and well-read, but I've never heard of this project before. To be honest, it sounds like another cryptocoin pyramid scheme. On their website this altcoin is presented as an investment opportunity where the value of the coins you own increases with the number of users.

> The value of Gulden is determined by the demand for Gulden, as with gold or silver. The price can go up or down, but on average the value of Gulden goes up.

Sure. It will only go up. Just like all the other altcoins.

There is something that irks me about the name of this project. Gulden is the name of the Dutch currency used before the introduction of the Euro. At this point in time it has strong historical connotations (obviously), but it is also a symbol of adherents of the nationalistic political (far) right in the Netherlands. There are plenty of people from the lower socio-economic classes who fuelled by demagogues who believe we should revert to the Gulden (the actual currency, not this altcoin), close our borders, get out of the EU and once again prosper (even though we are already doing pretty well all things considered, and the EU benefits us on the whole, despite all its warts).

Choosing Gulden as a name for this project seems to explicitly place it at the heart of that particular bit of discontent. It also feels extremely pretentious to use the name of our historic currency that anyone over the age of twenty actually used. This I can grok from a commercial standpoint, but it leaves a nasty taste.
We run a startup and have been working on the remote-teamwork problem for a while now.

Having dabbled with hardware and partnering with hardware vendors, mainly because we believe hardware is definitely a piece of the puzzle but, to frame the problem around the device first, is the pitfall that SMART/MS SurfaceHub have all fallen into.

As others have pointed out, sinking thousands of dollars into a solution that will soon be replaced due to advancements in display technology, hardly seems worth it, especially for small to medium businesses. We designed our software so that anyone can pick it up and try it for free with their team, without worrying about needing new or fancy hardware.

Ultimately Collaboration includes all of your devices, including your big touch screens, pc's, smaller devices and whatever else that may turn up in the future (VR?). Google's offering for drawing has always been lacklustre and its a shame there is nothing we can try and use from this announcement today.

For those wondering, my startup is called Collusion (collusionapp.com).
You can have both with Karabiner (though it doesn't work with Sierra yet).

Caps lock can be control if held down and used as a modifier with another key, but if pressed and released sends Esc instead.
Ah I'm sorry, I got confused thinking that we had gone back to my comment on taneq's last parent of this branch.

I attribute the downvotes to the unpopularity of non-complete clauses on HN. In addition to that, most of the libertarian and right-leaning users seem to be in North America, so I can count on less sympathy from ~4-12 GMT. It is also possible that my writing has gotten substantially worse in the last few hours, but it seems unlikely that I am being more rude or unfair than I normally am.
I thought one of Carver Mead's main motivations for developing VLSI with his students was that at the time, designing and fabbing a bespoke single silicon device (comprised of networks of many transistors) to implement a particular "program" was much harder than designing and building the same functionality from a "macro-network" of pre-existing, off-the-shelf, catalog transistor devices.

I.e., it was easier to implement the logic for a traffic stop-light or an electronic calculator or a television remote-control by assembling a circuit from off-the-shelf components than it was to implement the same transistor logic in a single integrated circuit.

It was definitely possible to do the latter in the early/mid 70's, but not as economical.

Your comment points out that SoCs are the modern pinnacle of implementing everything "in silicon" - yet are we not also still implementing "the other half" of the system with circuits of many off-the-shelf ICs? I.e. one IC is CPU+Memorycache, another is RAM, a third is wifi module, etc.
Agreed.
Collusion https://collusionapp.com has free use (not trial), you can also download your work as a PDF/Image if you like without restriction.
> This is a great example. However mining is typically a private endeavor where the mining company and thus the customers of its production (and shareholders) bear the cost (typically.) What gets me is when it involves taxpayer money.

Why would we expect public organizations to be any more efficient than private organizations? All large organizations have this kind of inefficiency, just like in the mining example. It's unreasonable to demand perfection just because it's the government doing it.

> For example, the famous 'rubber rooms' for NYC teachers -- teachers and education always ask for more money but they find a way to waste it in salaries for people who quite literally do nothing all day due to the influence of union special interests and labor board rulings that favor the special interest over the greater public.

Weren't the "rubber rooms" due to the school administration not paying their agreed portion of arbitration fees? I can't imagine anyone in those rooms wanted to be there (they sound incredibly depressing), but if you have a false complaint against you what else can you do? It'd be very hard to get another teaching job with that complaint on your record, and you don't want to let whoever filed it win by giving in; all you can do is wait to make your case to the arbitrator.
Can you set up phone alarms/reminders with org-agenda or something similar?
EU-Canada Trade Deal in Limbo as Belgium Withholds Consent
Show HN: IonMag – a new open source WordPress theme for blogs and news sites
Yes, but when was it ever better?
So what makes Swift better than Java/C# for server-side development? I'm getting tired with some languages and I'm looking for (fun) replacements. Yesterday I was reading about Elixir. Why and when should I adopt Swift?
Switch statements have fall-through behavior that you need `break` to avoid (in most languages); sometimes this is what you want, but only rarely.

One trick I've seen people do in Python is to use a dict; define lambdas for each case, and then key the dict on your value that you would switch on, and invoke the lambda (or use existing functions).

def fake_switch(self, thing):
{
'foo': self.do_foo,
'bar': self.do_bar,
'frog': self.blast_vent_core
}[ thing ]()

I am doing a poor job of explaining _why_ one might want to do that, but one advantage is that you can verify that the right callbacks were called in tests, and also verify that each callback behaves right when invoked, since they are just references to methods or functions. I'm not sure if doing this would get marks for cleverness and testability, or would get one criticized for excessive cleverness. As the reviewer of the code when a coworker wrote it, I recall liking it, though.
This might depend on your screen size, on my screen the crashes occur on the right edge of the road.
Which full salary, the one you got before, or the one you could make as a skilled software developer moving to a much better gig with a rival employer willing to offer a more attractive deal?
This startup has completely removed payments