skysight-inc/HackerNews huggingface dataset:
Lots of good programming languages out there today honestly. Rust is great. I recommend everyone learns themselves a language for each need.

I've got Clojure/Clojurescript, Rust, Python, HTML5 JavaScript, F#/C# and Java.

Clojure/Clojurescript is used for long running processes and web development. So backend/frontend stuff. I also use it for fun experiments, the REPL is great at that.

Rust is used when performance matters, when I want the simplicity of running a native executable with no heavy dependency, and when I need to write low level components.

Python is my goto scripting language for quick scripts, hacks, messing around. It also serves my scientific computing needs, data mining, visualization, etc. Also, this is the best language I've found for doing coding interviews or practice. So easy to whiteboard python.

HTML5 JavaScript is used for most web development, for customizing my editor Atom.io, and other things. With Metro apps, and other OS moving towards an HTML5 JavaScript stack, its also quite good at some user apps.

F# is good for simply knowing an ML language and when I want more functional flair in the .Net world.

C# and Java are used to pay the bills, as they are easiest to find jobs for.

There would be valid alternatives for most of those categories, but I highly recommend everyone invest in knowing one language for each one.
Coworking spaces are a mixed bag. I went there for few months but stopped again.

Good is that you face more serendipity than when working from home. But really, it is not that much more. After only few weeks, the novelty wore off and I got bored and saw more the downsides. Like super small tables, no dual monitor setup, always too cold, the commute, less free fruit, and the people. Some are quite nice and you realize that you need random social encounters but there are also the typical odd people to whom you cannot relate at all (like everywhere). Those people don't hurt but I remember one who reserved the best flexdesk the night before by leaving tons of her post-its and other papers there. No big deal but nobody who makes you happy either.

I knew most people I met there before. Bonding with new people without having a common mission was not easy, it just didn't feel natural (and I am rather the extrovert sales type of guy). So, you can still feel 'alone' in a coworking space.

I think a coworking space makes more sense if you need a space as a team and want or need to see each other f2f on a regular base.

For business meetings or doing interviews, I prefer lobbies of top hotels, they are even more representative than the best coworking spaces and at the end of the month also cheaper with full service included and no extra fee when booking some meeting room. And for two hours working away from home, I am a fan of Starbucks or any coffee ahop with good wifi.
Expect a lot of doctors to be replaced especially for disease diagnosis.
> I could visit a country with a completely different set of laws regarding driving [...]

Arguments by metaphor aren't my thing. It's very likely I would become more proficient at Rust if I programmed in it more. It's also very likely the poster above would worry less about memory errors if s/he programmed in C or C++ more. Yes, Rust is safer in some ways, but I still can't understand where all the fear of other languages comes from.

> having a dedicated bike lane at all times would probably be a good idea anyways.

I used to live in a city with a lot of dedicated bike lanes. I commuted to work on a particularly long stretch that was very popular for cycling. The majority of the cyclists refused to ride in the lane. It turns out that cars naturally blow the dust and small pebbles out of the main road way, but bikes don't do that in the bike lane. Cars also smooth out the pavement in their tire tracks. The result was a road that's 5 foot narrower for cars (speed limit 45 mph) with bicyclists in it (not moving 45 mph), a generally unused bike lane, lots of uncomfortable passing, and a lot of indignation from cyclists who claimed an equal right of way despite having a separate lane designated for them.

> Sure, maybe you've never hit a cyclist, and never will. That doesn't mean it doesn't happen enough that we shouldn't do something about it, because it does.

The city I live in now has many bike paths, completely separate from major roads. It's also a different climate, so there are less pebbles and they have street sweepers clean the road after snow season to remove the sand. There really doesn't seem to be much interaction between the cyclists and the cars. So should I choose a programming language with bike lanes on major roads or separate paths though the parkways? :-)

> No, a segfault at runtime is something that is possibly exploitable. A Panic is not.

Anything is possible, but it's very unlikely. I will write a program and intentionally put a buffer overflow in it. Can you send me some data that will exploit it?

Here's a metaphor that also isn't one: I'm not afraid of terrorists despite some high profile events in the last 20 years. I certainly wouldn't optimize my life around avoiding terrorist attacks because the empirical evidence shows me the probability is very low.
Exactly how I feel atm. I hope to see some useful comments.
Totally agree. War on Drugs is a failure and Ivory trade ban would be another failure.

Government wants to ban something which people want and some people willing to supply. Unless someone has strong private property right over elephants I don't see how these people are going to change. Ban might increase cost and risks and might lead to serious exploitation of the foot soldiers in this business but it is not going to be good for animals.

China could have imported 1000 elephants and could farmed them for their ivory.
At least here in Brazil, credit card debt has a fame for having the highest interest rates of all possible forms of debt, by a wide margin.

If you don't mind saying, did you ever considered other forms of debt, e.g. applying for a loan at the bank? If yes, what tanked it?
Even if we released all drug prisoners, the incarceration rate would only be about 15% lower: http://fivethirtyeight.com/datalab/releasing-drug-offenders-.... Meanwhile, it's about 6-7 times higher than what it was in the 1960s. Thus, almost all of that growth was not from drug offenses.

It's not necessarily "great" that more violent criminals are being caught and sentenced. Many European countries manage just fine having e.g. 10-15 years maximum even for murder. Which is why I find the drug thing to be so frustrating. Drugs are not the major issue in the prison system. The real issue is whether just locking people up as a response to high crime rates actually works or not.
I agree with the assessment. While parts of this official communication were well written and intentioned, it feels like others weren't.

> at least in a vendor report you usually only get 1 page of marketing instead of 8

That was also my reaction when I scrolled down past page 4-5. It almost feels like they could have split this particular report into:

1)public-and-media-facing high level technical overview

2)actionable intelligence information for defenders

With 3) being the attribution and evidence coming at some point down the road.
Automatic flight is much easier than autonomous driving. Not much to run into up there :).
2016: A Look Back – Mattermark
Thanks, this was really innovative, and good luck with latacora (funny name btw)
I'd love to see the output of the compiler. What assembly it generates with some standard functions (Fib, fac, tree generation, tree traversal, etc). I've wanted something like this for some time.

If anyone knows how and can make this happen I'd like to see this on some godbolt-esq site.
Lower stall speed
> if we took existing traffic and moved it 10,000 feet up in the air

Wouldn't you move it 1,000 feet up, 2,000 feet up, 3,000 feet up...

There's a lot more space in the air than on land.

Plus, in 3D you can make two non-intersecting non-parallel straight paths. Can't do that in 2D.
avoiding taxes vs. running your business in a way that is fully legal that allows you to not be penalized for being self employed are two different things. For example, if you paid 30% (self employment tax, roughly) on 250k, you're paying $75k in taxes. If you set yourself up as an LLC filing as an S-corp which brings zero minutia with it beyond the setup, you could pay yourself a salary of, say, $80k, pay your $12k in taxes and the other $170k would be taxed at 15%, saving you roughly $37,000 in taxes. Putting $37k a year into a retirement account and investments wouldn't be so bad.
From the article:

"This kind of design wouldn’t work with conventional aircraft engines because 10 engines would be way too heavy. But electric motors can be made extremely small and light, allowing even a car-size vehicle to have 10 of them."
I've actually thought about doing so, but I'm always moving back and forth, so right now I think my best choice is to stick with a laptop. I agree that they all suck, but some (most?) of them suck so much they are out of question. I don't know what happened, really. 10 years ago you bought a laptop, no matter which brand, and you would get a decent keyboard. They have sacrificed quality for aesthetics too much, but maybe you are right; I should just buy a mechanical. I looked into the Happy Hacking keyboard. It's a bit pricey, but I've heard very nice things.
Hours worked doesn't differentiate between the time I spend pressing the button on the widget machine and the time I spend hitting the widget machine with a baseball bat. It's not really a measure of work.
Source code? Is it on github? Can you provide some example binaries?
The headphones stay on the desk at work. Then there is the old set of Altec Lansing speakers in the garage. There are a few more spots that I rarely use, but they all have 3.5mm connectors.
True, but when asked directly if he was atheist, he answered "No."
With the type of aircraft in the article, they could come down like helicopters do, right?
Electric is a game changer for popular aviation. Why? Because aviation has (fortunately) very strict safety standards. So the aviation version of common car engines are vastly more expensive than their car counterparts. They also require expensive maintenance regularly. Electric engines are mostly maintenance-free, and the biggest point is, you can have any number of electrical engines on your aircraft - the common drone has 4 independent engines, and people-carrying crafts can have 10 or more, basically eliminating any reliability related safety concerns.
Some of the world's greatest minds have been spending decades making JavaScript go fast inside VMs where the JIT can take advantage of profile information gathered at runtime.

Getting even remotely comparable performance in an ahead-of-time compiler—without spending eons waiting for complex whole program analysis—is, as far as I know, an unsolved problem for real-world programs. I'd like to see what "really, really fast" means for this compiler.
Given current interest rates and expected investment returns, someone receiving even $50,000 a year in pension benefits is a millionaire or better.
This move by Apple isn't in response to losing marketshare as much as iPhone owners not upgrading.
When I get really stir crazy I find it only takes about 4-5 hours in a co-working space to remind me how good I have it.
Are religious people more inclined to be heavy facebook users?

From an informal and limited survey of people I know, I'd believe this to likely be true.

In which case religion is very important. To facebook.
Ubuntu on a ThinkPad X1 Carbon is my workstation. As a Go developer I only need Chrome, a terminal, and Go itself (which I install from the official tarball binaries).

Now that I have Google Fi I'm kicking myself for not getting the cell radio builtin as Google will send you a data only SIM for free! I would never have to deal with another terrible airport or hotel captive portal again!

My coworkers are all Macbook Pro users and ask why I don't get one too. I just don't see the point. I think MBP's build quality is nicer but otherwise I get twice the machine for the same price and get to develop on the same OS as my project primarily targets (Linux).
> not watching cat videos.

yea. ok

edit: Why not watch cat videos?
+1 for Telegram.

HN loves to hate it and I know I should treat it as unencrypted as the crypto might or might not be good but both mobile and desktop clients works nicely (actually IMO brilliantly) across Android, IPhone, Linux desktop and Windows desktop. Bonus points for bot API and channels.
> There is no ability to add accessors without having a high risk of breaking the universe

Hogwash. Adding a function doesn't affect existing programs at all. The tricky part is getting people to use the function instead of the field to get the same information. That's the point of introducing the macro around field access: either forcing people to define things in their build to keep things compiling (acknowledging their impending doom and refusing to do anything) or fix their code. If you write the macros in a clever enough way, they'd have to touch every access site to get things building again anyways, so they might as well use accessor functions when they go to port.

Then define a hard date in which things are going to break (near enough in the future to call people to action, far enough to actually complete a port if they're trying), and then break as close to that date as you can to both build trust and confidence in the community. (This of course includes feedback; if everyone is saying the port is taking twice as long as planned, adapt your break date.)

This is not actually difficult, it just requires software maintainers that care, and a healthy environment of engineers willing to do the work to clean up their software. And it also requires software landfills like Debian and RHEL repos systematically purge software that refuses to update or has zero active upstream maintainers, as it's likely filled with badware, or at the very lease insecureware, anyways.

Where OpenSSL breaks down is the healthiness to take these steps; although recovering thanks in a large part on the spotlight placed upon them and the few paltry dollars offered up by various tech companies to maintain the commons, they still haven't caught up to simple practices like these. (I'll partially blame this on fragmentation like LibreSSL and BoringSSL as enabled by software licensing and companies like Apple (and to a lesser extent Amazon, s2n) deciding to abandon public implementations and write their own based on these public ones rather than returning effort to community solutions, but that's a topic for another day when I feel like donning asbestos armor and beating up trolls with cluebats.)
>That is a good question. I feel most companies do it out of habit (or because everyone else is doing it) and few have stopped to ask themselves whether the literature in the contract makes sense or not.

I agree. I encourage everyone to "mark" their contracts, even if they sign them in the end. I did it on my most recent contract, red pen and all. Read through the whole thing, circled bits and pieces that seemed wrong, or overly burdensome.

The message was basically "I am going to sign this, but if I was to reject it, it would be because of /this/ line exactly". It's actually important feedback for the people writing these contracts. Lawyers may not understand the value that side projects have to developers. Remember that law isn't a profession where a side-project could suddenly turn into a fortune.

My HR people really warmed to this kind of feedback, and I believe a few clauses were tweaked based on it in newer contracts, even if it didn't make it to me. Give it a try when signing for new jobs. If your HR people get snotty at you for it, you probably don't want to work there anyway.
These pensions are higher than the GDP per capita. If everyone got pensions that big, where would the money come from?
I totally agree that google blew its competitors out of the water in the 90's. I switched to Google literally ten seconds after running my first query!

The research I'm citing is from the late 00's. At this point in the game, differences in search relevance are in the measurement noise.
Thanks, but you seem not to have read the title, or my search results are different from yours. Specifically Windows laptops do not feature highly in recent search results. It's also untrue that the majority of Windows laptops are SSD-only. Perhaps this is the wrong forum for my question, but I'd rather you say that than wrongly imply that the question is redundant.
A self-piloting VTOL small airplane is about the nearest thing we will get from a flying car in a long while.
Show HN: A Python library for downloading YouTube videos
The white house and the document itself never list attribution as the goal. Robert M Lee seems to think because it refers to the attackers as Russia, it is confusing readers. The summary at the beginning makes it clear to me that the document is presupposing the attacker is Russia as to be consistent with all future public reports.

I don't think this is the best written report, but his conjecture around completely leaving out attribution if it doesn't include evidence seems rooted in playing to the lowest common denominator (ie poor media coverage of what this report entails)
> There is no way a Macbook can compete with a proper Thinkpad [2] for programmer productivity: the keyboard, the UltraNav, the swappable batteries (you can fly around the world with a x260 + spare battery), a nice docking station

Keyboard and UltraNav are more taste than anything else. I have a T450s for work and a 15" rMBP and vastly prefer the keyboard/touchpad on the latter. It doesn't help that Lenovo's QA is shit. My T450s keyboard is bulging in the bottom right of the keyboard deck, and several of the keys stick for a millisecond on the way down. As if they're not quite seated properly and hitting the key causes something to click into place. I suspect it's temperature related, because it goes away after typing for awhile, but comes back after a bit of non-use.

> upgradeable storage/memory

Programmers are expensive. No reason not to buy a maxed-out machine to begin with.

Also, it's hard to get over Lenovo's penchant for shit displays if your job is to stare at text all day.
Designing as a Developer
This could turn into a Clive Sinclair obsession with his car!
htc vive. Vr is expensive and space demanding, but wow its amazing. The cardboard and the gear vr just dont compare.

Call me a vr believer now
...but if the government owns all 'capital goods', then you can't use markets to allocate those capital goods between different owners.
Electrical engineer here.

EDA tools often export BOMs as CSV, which we import to Excel.

ATE programs often export test data as CSV, also imported to Excel for manipulation and graphing.
This looks like the right approach, thanks for the link.

However I still find the fact that I'd have to pay an extra $35 for an incredibly useful feature which apple decided to kill very unpleasant. Their product is not cheaper. So I end up subsidizing their stupidity. Or worse, their choice to not give a damn about my needs.
There's an interesting 1-hour-long documentary about him: https://www.youtube.com/watch?v=XIIyKWxGhEA
They never took it away, they tried to switch the touchpad to an integrated unit in the *40 gen (240, 440, 540) (like how Apple does it) and had to revert it because (1) they did such a godawful job of the sensitivity and (2) integrated touchpad buttons don't make sense in conjunction with the trackpoint.
> I just can't consistently control the phone. A large percentage of taps or swipes do things I did not intend (how many I'm not sure -- 20%? 33%?) It's just completely crazy.

I couldn't agree more with this. Just as bad (if not worse) on Android. I can't seem to use any modern phone without a huge number of unintended inputs. The reliance on gestures in apps is especially annoying because I don't use some of them often enough to memorize the different gestures. I very often just get stuck in various apps tapping and swiping randomly trying to make something happen. Just the other day I finally figured out when I get stuck in Instagram I can tap the Instagram logo to go back. Up till now I've been force quitting it instead.
I had been wondering what exactly California was doing with 10% of my income...
He did reply to "aren't you an atheist?" with "no". But he also didn't commit to a specific religion in a most weaselly way (also, "Merry Christmas and Happy Hanukkah"?).

What's the problem, Zuck? Afraid to tell us the truth? Perhaps your beliefs are a private matter?
> But why is this so bad? Because it does not follow the intent laid out by the White House and confuses readers to think that this report is about attribution and not the intended purpose of helping network defenders.

Looking at the comments in yesterdays' thread[1], this is absolutely true - many, many people posted some variation of "What? There's no evidence proving Russian involvement in here at all!"

1. https://news.ycombinator.com/item?id=13279600
only if the population is increasing.. and if the population is increasing, then the burden to the taxpayers is spread ever wider.

the problem starts when the tax income shrinks
> Totally agree. War on Drugs is a failure and Ivory trade ban would be another failure.

They are more dissimilar than similar. Not all illegal goods have the same economics as illegal substances. Kinder Surprise eggs are illegal in the US, yet there isn't much of a market for them.

> Government wants to ban something which people want and some people willing to supply.

The situation is really different. When people go buy ivory, they are buying it to show off their wealth. Similarly, few rich people would buy a Faberge egg from a shady guy on the street, esp. if being seen with it in public (you know, the reason why you might be buying it in the first place) might raise question about the product's origin.

People want luxury goods, not necessarily ivory in particular. If you ban Ferraris, people will buy Lamborghinis. If you ban sports cars, they might buy yachts.

> China could have imported 1000 elephants and could farmed them for their ivory.

Do you know much about elephant husbandry? Disregarding ethical issues, it's not possible for financial and ecological reasons.
Management often assumes that they did their job when they handed in specs.
And I often assume that there is nothing else for them to do.

I can't say for certain that you're a bad developer, but if your management thinks throwing specs over the wall is "doing their job" they ARE bad at theirs. I'd argue that you fail your part of the job in that case if you DON'T have any questions.

As for the slipping estimates, are you part of the process that generates them? If not, it's back into "your managers are bad at their jobs" territory.
Its not going to be flying cars as in a replacement of cars, not for a long time. What is needed is short "hops" in crowded areas.

San Jose -> SF is the example in the article that Uber gave.
I checked for my city and there are a couple fire fighters with salaries of $45k-$75k a year but made $140k-$180k in just overtime and overall total comp of $220+. How does that even happen?
My thoughts exactly. This latest screams "I plan to run for office."
I have a 4th gen Carbon X1, and I have to admit it feels flimsier than the last MBP I've used (I haven't used the latest generation MBP).

There's still some give when I pick it up one handed. I'd happily trade some weight and thickness for a more durable feel, but I might be in the minority.
Seems like a very calculating answer from a very calculating person. I don't intend that as a compliment.
It's ok, autonomous flying cars will save the day
That's right, I was one of those confused people. I assumed this would be the WH presenting what evidence they have.

Sooo... still no public evidence that Russia leaked the DNC and Podesta's e-mails?