skysight-inc/HackerNews huggingface dataset:
For certain languages, the IDE of choice is great. For what seems like the majority of languages, it isn't.

In the last week, I've edited javascript, html, python2, python3, sql, json, yaml, graphviz, markdown, and docker files. Looking back a little longer, throw in C, C++, bash, z-shell, R, lisp, LaTex, and perl5.

Having an appropriate and reasonably consistent editing experience works for me. For Java, the eclipse experience has grown on me, so I prefer editing Java outside of emacs for anything but quick edits. I pretty much just do quick edits in C or C++, but if I were to be doing it daily I would probably prefer a dedicated IDE like Visual Studio. I'd probably prefer Viz Studio for python, but that would require working in a windows VM and that's just not going to happen.

The utility of some basic functions like column editing, zap-to-char, hippie-completion, macros, yasnippet, etc. that I've grown used to over the years coupled with syntax highlighting and predictable indentation for pretty much anything I'm editing makes it hard to seriously consider another editor. I'm sure vi/vim users feel the same way about features that seem small but get used very frequently.

Regardless, it all boils down to productivity. I'm productive in emacs, so I like it. I wouldn't force somebody to use it - or even recommend it for someone who didn't have the time to build the muscle memory before needing to be productive.
I'd guess that he thought, "RADAR stealthy", and just ignored the fact that you could hear it coming miles away.
It's a code injection method. And it's an interesting approach, but dll injection with some tricks can be just as undetectable.

Short version: An attacker already has unprivileged access to your machine (running something with your user's privilege level). The attacker can use this type of method to access other processes in the same security context (running under the same user).

Or in different terms: it's not privilege escalation, it's not remote code injection (because you already need to be in), it's a method for increasing horizontal access.

So no, the sky is not falling or not more than usual. :)
/r/mechanicalkeyboards' wiki and deskauthority have been significant in my keyboard addiction.
Ironically, the most important keys to change have been seemingly ignored here.
I was not aware of the practical limitations in connecting PATH to EWR. This makes a lot of sense.
Similar, yes. But for free!
I've tried a few Linux distributions in the last few days, I suggest you try LinuxMint - it seems to be the less painful option. I'm not sure what desktop manager they use, but it's definitely better than stock KDE or stock GNOME.

For KDE, the best experience at the moment seems to be Neon, although I've not tried OpenSUSE.
You are right - the 'static' itself is a mistake, but not a terrible one.

But when the line:

Foo foo = new Foo();

is followed up with:

assertEquals(

if one types in anything other than -1, 0, Integer.MAX_VALUE, Integer.MIN_VALUE etc, big blaring warning alarms should go off in a senior developer's head. Even after it is typed in, when you read through the code it should have stood out to you.
I'll definitely miss it.

If your Mac won't start, or you have a desktop and the monitor's acting up, it's convenient to have some indication of what's going on. Not that zapping the PRAM often solved anything, but it'll be more difficult now that there's no indication how many times the machine has restarted.

But the nostalgia (I'd call it the Pavlov response) is the biggest part. Hearing the chime as I sit down to get some work done is a cozy way to get into the swing.
A bit off topic, but 99 percent invisible did an interesting episode on sound with a bit about the creation of the apple start-up chime. The relevant part starts at 04:30.

http://99percentinvisible.org/episode/the-sizzle/
The whole idea was to make the argument moronic to show the extreme end of the spectrum. Somewhere you have to draw the line, when does the boat become a weapon? Some weapons are also legal to posses, but others aren't, where do you draw that line? Is a kitchen knife a weapon? A sword? Are you allowed to export a sword? a gun? a RPG? armored personnel transport? A tank? A Helicopter? A jet fighter? Cryptography? Radars?

Regarding the court it's definitely not expressing my opinion, more like extra spices on the rant :) In case that wasn't obvious.
What is also fun is what Richard Duncan is calling "creditism", which technically actually started with Japan beating US. Before this there was the gold standard.
Thats not correct. Some are but the turkish government is paying a lot of the imams teaching there. See here: http://www.zeit.de/politik/deutschland/2016-04/moschee-deuts... Although its a germany article. As I also have some of religious friends which are working for donation financed mosques I know for sure that some mosques are financed by the turkish government.
That may be a Raspberry Pi problem. The Pi's non-power USB ports are "On the go" ports, and potentially bi-directional. But they don't have the proper power circuitry and protection on the power side. The Pi's power USB port doesn't do power negotiation, so if connected to a power source that demands negotiation, it may only get the default per-negotiation 100mA, which isn't enough.

(I've been designing a board that gets power from USB, and had to read up on all this. The USB power system is complex but well designed, and if all the devices comply with the standards, immune to user mis-plugging. The problem is that doing it right usually requires an extra IC at each USB port just to manage power.[1] A lot of low-end devices don't do all this right.)

[1] http://www.linear.com/product/LTC4085
You're conflating concurrency with parallelism.

Your 20000 concurrent connections with asyncio are not parallel. You can have 20000 threads if you want.
He's certainly blowing smoke on the stealth capabilities, given the racket this thing will produce in the water.
Prototype All the Time
It took my 2 minutes to find a laptop under $500 with 8GB of RAM. My 2011 asus laptop has 8GB RAM. I'm not going to build software with my 2005 Inspiron in mind. Don't expect people to cater to 10 year old machines.
Whoa thanks for this, definitely going to check it out.
How can I add my react.js project to this list?
You are right. It was fun with a good sense of accomplishment at the end. On point 1, I was thinking quite a bit about how they used to make and how quality and assembly was different back then. Saw how some materials aged better than others. There was a thin rubber sheet between the keys and the membrane, I would expect after 30 years it would have been falling apart, but it was in great shape.
The Divorced Guys Guide to Travel: The First 24 Months
Idk why you would hire somebody who didn't know JS well for a JS role.
And it for sure helps to have been a Facebook developer :)
This is cool! I wonder how it looks for really busy servers (hundreds or thousands of req/sec).
yes, I'd be annoyed for sure. Imagine that it's a well known fact that italians in the US always complain about the espresso because it's too watery (this is pretty likely actually).
The owner kicks me out saying "I've got enough of you italians, you always complain! Get the espresso in your own country!".
I'd be upset with the owner at first but then realize the fault is mostly with those bloody italians...
Sure. Leave your email and Ill reach out.
Waarp: massive file transfer monitor
> Perhaps he is weak in logically deciding what exactly
> needs to be tested but writing good tests doesn't come
> easy either.

True, but we were looking for "senior" engineers. In that role, the candidate is expected to have a taste for these things, do code reviews, and even help junior engineers acquire that taste.

> Many can fail in that given time constraint and other
> management pressure.

I forgot to mention it, but this was a take-home assignment. So there really was no time constraint or interview pressure.
Export regulations have been relaxed since 1996 in the U.S. but export is still regulated and may require review and license from Department of Commerce's Bureau of Industry and Security.
I enjoyed it. He gave himself the freedom of writing personally.
Last time I tried Elementary OS it _looked_ very nice but basic stuff like adding an HTML signature in the email client was missing.

Did they improve on this front?
Show HN: CNoEvil
This has changed a lot with React.

Honestly I jump with joy every time I start a new react project.
No, I always just close the lid. But there are a bunch of reasons why you have to reboot, like software updates and bootcamp.
> There's no such thing as thread-local data in Python.

There is. threading.local in all aspects is thread local data.

> Now there's "asyncio", which is the descendant of "Twisted Python". That was mostly used as a way for one Python instance to service many low-traffic network connections. The new "asyncio" is apparently more general, but hammering it into the language seems to have created a mess.

I think the mess was created before 3.5. Had the whole thing started out with the async keywords we might have been spared `yield from` which is a beast in itself and a lot of the hacky machinery for legacy coroutines. I do think however we can still undo that damage.
That statement is based on research or your own cynical mind? I know a lot of people who are doing rather well for themselves and are apparently enjoying themselves. See, experiences differ.
...Well then how do fonts, images, and embedded X widgets work? Are they elisp hooks into the lie?
And there's the difference between journalist and reporter. ;)

Journalists seem to be going extinct.
27 Ways to Get More Followers on Social Media Networks
I work on a popular academic philosophy magazine which is now transitioning from a centralised inDesign model to a distributed LaTeX model. The idea is that aside from the egrarious costs involved with inDesign (licencing, buying great big computers to run it), the main issue is that it centralises our production around a few people who have both inDesign and typography skills. LaTeX, on the other hand, allows us to abstract away the typography skills with a class file, and have everyone learn some essential syntaxs such as \footnote{}, \includegraphics{}, \begin{quote}, etc. We'll use git or, if people really can't get their heads around a nice git gui, dropbox, to collaborate. I really can't understand why this isn't a more popular approach, especially for academics.
Great post and an important disclaimer... take RSI seriously. I went the Kinesis route and switched to Dvorak (after taking a week off from typing) and I've never had a problem since (I ditched the Kinesis after a couple months and went back to my laptops keyboard).
Inspired by "Having fun abusing the C language" [0], I present to you what appears to be an entirely different language written in the C Pre-Processor!

This was amazing fun to work up.

Also, if you ever use this, you are utterly insane.

[0] https://news.ycombinator.com/item?id=12787134
I'd already read the booting process of xv6, but it does IPI in protected mode too. Maybe BSP will need to enter pmode to make any IPI call anyway.

Thanks for the help!
Hmm. The keys with the transparent cap actually don't look great to me. Also, why do we keep losing the number pad? I use it quite a bit, and it's one of the main reasons to use a dedicated keyboard rather than the built-in one.

Also, I really want to like Bluetooth. Built-in generic connectivity! Yet, at least once a day I have to reset a connection between my MacBook and a peripheral, or my phone and a peripheral. Touchpad batteries died and need to be replaced? Yeah, that's a reboot. Headphones won't connect? Re-pair. I hate that my Logitech keyboard comes with a dongle, but it works and I get why they included it.
IIRC from Jared Diamond, China is a huge flat field with a couple of rivers to help navigate.

Europe, especially preindustrial, was forests and Alps and Pyrenees. A lot of trees in Germany. Italy is hilly.

Also, China is unified by language. At least the written kind that lets you run a bureaucracy. The med had a bunch, Latin, Greek and Arabic, and was multiple "countries" for a good long time.

About the crops being grown, there's ideas about the difference between rice and the middle eastern crops. Something to do with the fact that rice requires constant attention whereas med crops are intensive only during harvest. Not too familiar with that line of thought.
Lately I've been seeing this as part of the problem in web dev. When you start a new project - let's say something like an employee management system that tracks schedules, locations, reviews, etc. - one of the early things you do is probably grab a framework for the back-end; maybe Laravel or Symfony or Zend - or maybe you roll your own (router, controllers, models, views, whatever). You mentally conceptualize and visualize the entire project in terms of delivering "views" to the browser (something not helped by the inaccurate terminology used in most back-end "MVC" frameworks).

Why don't we see the front-end in the exact same way? I have a list of requirements that the interface needs to accomplish - why don't I use a front-end framework (which can actually be a real MVC framework)? Why do we consider all these things for the back-end, but then write just one or two Javascript files for the front-end and add a few libraries like jQuery and/or Modernizr? Where's the consistency? Why do we just throw all our JS code into a single file? Our contemporaries would ridicule us if we did that with our PHP files.

Up until, like, Thursday, I thought this way as well.

I guarantee my next big project (after a few small practice projects) will place the "views" and "controllers" where they belong, completely within the browser. This is where the user interaction happens, and there's no need for a server round-trip every time something gets clicked. The "model" is the data store (i.e. the back-end server) - all the client needs is an interface to it. The back-end will be nothing more than the "model" layer, though it will necessarily have it's own routing and controllers (after all, business logic still belongs on the server where the user can't mess with it). Access is through a REST API, and it delivers nothing but data and URLs for static/generated assets.

Is this more difficult? Definitely. Requires more tooling on both ends? Absolutely. Lets me properly architect and visualize the entire project from front to back without any inconsistencies in perception? Yes. This is not MVC, this is VC/MC.
I regularly code over SSH, and the machine where I’m most productive at writing is a laptop clocked down to 100MHz with bare Emacs on X11. You simply cannot do that with a current-style IDE.
you can not ask this question until you define GMO.
what are they? do they even exist???
can you isolate A PROPERTY of an organism that you call "GM"?

here is some basics: ithipster.com/38.html
asyncio is clearly where the community is moving. Sooner or later everybody in the 3.x world will use it.
Nothing, on i3, and graphical. So it seems near-random.
Hasn't worked since Yosemite.
To the downvoters regarding my post about Magsafe being flawed. Here's a reference, the Magsafe adapter scores 1.5 stars and has mostly negative feedback : http://www.apple.com/uk/shop/reviews/MC556B/C/apple-85w-mags...
Of course it's just a process. Capitalism is a process which centralizes surplus and power, i.e., increases inequality, and communism is a process which decentralizes surplus and power, i.e. decreases inequality. Calling communism unrealistic and disastrous is again just being diminutive.

Communists want for people who do productive work to have an equal say in how work is done and what happens to the product. Not complicated, not unrealistic, and certainly not an inevitable disaster.

In empirical terms, there's a lot more evidence for the disaster-causing tendency of capitalism than communism. At the very worst, the end result of communism is empirically unknown, since, to date, communism has not been allowed to flourish on a noteworthy scale.
I really enjoyed learning the details from Lamport's own book: LaTeX: A Document Preparation System. It covers most of the essential features, but maybe just as importantly it describes the philosophy behind LaTeX (which is rather different from the philosophy behind an editor like Word, and thus calls for a correspondingly different mindset while writing). Yes, the book is 20 years old, but then, so is most of LaTeX.

https://www.pearsonhighered.com/program/Lamport-La-Te-X-A-Do...
my worry with that wouldn't really be if it runs out of money, but what's the backend like? any redundancy/etc? Is it running out of an old Sparc 20 in a basement in Memphis?
If you will only ever do macos, then why read and then comment (dismissively) on another OS..
I can add it if you want, or you can fork the file and maintain/share your own copy of the list
My belief is you should focus on understanding the problems your target users want to solve with your tool, and then design UX around making the product a powerful and convenient tool for solving those problems.

I agree! And, when I talk about "design," UI and UX are only one facet (because strategy, content, and technology are their own components in the larger design space).

When I talk about "desire," I'm following Gause and Weinberg in Exploring Requirements, where they say, "[W]e don't know how to figure out what people need, as opposed to what they desire. ... We do observe, however, that by clarifying their desires, people sometimes clarify what they really need and don't need." In that sense, they are in agreement with your approach: determine the desires your users have (what do they want out of the product, what will the product help them do, etc), and then use that to inform their needs (here's what the product should specifically do or afford). Your experience designers then work with you on how to create experiences that effect the needs to address the desires.

What I'm saying is, I think, that you're already thinking at a very sophisticated level in terms of design, it just sounds like your experience with design has been with organizations at a lower stage of process maturity.
Not everyone is a rich guy with dream-like paychecks. With iOS you are stuck with OSX and currently the value proposition is bad.
I wouldn't mind Sweden too...
Probably because as the author mentions, they weren't trying to rationally decide on a language/ecosystem, but looking to rationalize the decision they already made.
I think it is an allusion to the story of Cinderella [0], some versions of which have her carriage transforming (back) into a pumpkin at midnight.

I see the implication being that when all is said and done, functional programs are really just imperative programs in disguise (I don't have an opinion on the matter).

[0] https://en.wikipedia.org/wiki/Cinderella#Cendrillon.2C_by_Pe...
Does anyone know how much the negative health effects of living near a highway can be mitigated by using a plug-in HEPA filter?

I'm considering moving to an apartment 200 feet from the 101 (8 lane total highway).
ARTFINDER:+1897+
That's a legitimate concern but I have to say USB Type C is about as future proof as you can be at this point in time. So 2019, at least, is probably safe!

There were a lot of smart people working on that standard. In fact, amidst the uproar over the introduction of Apple's symmetrical Lightning cable and USB's opportunistic announcement that "Hey we're working on one too, honest!" people seemed to overlook that Apple had people working on the USB Type C committee as well.
My personal complaints with OSX are all UI related. I give up too much of my screen and time to animations and buttons that I don't want. The underlying OS is quite good. Much more stable than me endlessly fiddling with Linux. That said, seeing as I can't customize the UI or workflow to what I consider to be a reasonable level, I'll stick with a custom WM on Linux.
No way.

For example: Is it illegal to buy lab equipment? No. Is it illegal to make medical compounds in your home? No. Is it illegal to violate patent or copyright law with zero intent to distribute and monetize? No.

For a couple 10s or 100s of millions of dollars I could buy the infrastructure to build the compound in my garage. Depending on the legality, potentially use it to feed friends and family as gifts. Sell the infrastructure.

All of a sudden the compound's cost is determined by your ability to buy and sell on craigslist.

Meanwhile, why go through all the trouble? Just go on Yelp, find a reputable seller in Brazil, China, or India (somewhere it is not illegal to buy). Spend $5000 on a vacation, and another couple thousand on the compound. At most (for the poorest people) its a couple years (10 maybe) of debt.
Thanks for taking the time to write out your concrete experiences and qualitative impressions in such detail. It's really a tremendous service and I'm sure it'll be well received.
While not new, I find the discussion around immutable storage important and interesting. Datomic[1] comes to mind. There are many scenarios and applications, where it would be nice to just write things to a structured log and build an application on that log.

Unfortunately there are some roadblocks, like little information and conversation about the topic and no real mainstream implementation of these ideas.

I've been working on a system, that has is based on an immutable data layer and it is just a wonderful thing to work with, as long as you have enough disk space.

[1] http://www.datomic.com/
their commercial version supports booting osx, https://github.com/veertuinc/vdhh/issues/1
It's a pretty stellar podcast about python in general and all the episodes have transcripts.
This has been done before, right?
When you say “GMO” do you really have an idea what are you talking about?
"MacBook Pro (15-inch, Late 2016) draws up to 85W. Use the Apple USB-C charge cable that came with your MacBook Pro, or a certified USB-C cable supporting 5A (100W), to power and charge your MacBook Pro (15-inch, Late 2016) at its full capability.

"MacBook Pro (13-inch, Late 2016, Four Thunderbolt 3 Ports) and MacBook (13-inch, Late 2016, Two Thunderbolt 3 Ports) draw up to 60W."

…

"You should not connect any power supply that exceeds 100W, as it might damage your Mac.

"Using a power supply that doesn't provide sufficient power can result in slow or delayed charging. It's best to use the power supply that came with your Mac.

"MacBook Pro can receive a maximum of 60W of power through the Apple USB-C VGA Multiport Adapter or USB-C Digital AV Multiport Adapter. For the best charging performance on MacBook Pro (15-inch, Late 2016), connect the power supply directly to your Mac."

Source: Apple https://support.apple.com/en-us/HT207256
My mini Ask HN:

After over a decade of using Mac OS X, I am considering switching to Linux for my dev laptop. The tools I worry about are those that interact with audio and webcam - Go To Meeting, Google Hangout etc. My work involves me having to teleconf with others often.

Does anyone here have experience using Linux well in such scenarios. If so, what hardware are you using?

Also, does sleep-on-closing-lid work well?
I've found that moving is a great way to face the reality that a lot my stuff isn't needed. Especially, as you mentioned, the stuff that's remained in boxes from previous moves.