skysight-inc/HackerNews huggingface dataset:
Could you be more specific? Fortran passes arguments by reference, but writing to an argument won't mess up the "program's only copy of 7".

For example, the first output of the following program is 4, but the second is still 7.

program main
integer m,n

m = 7
call corrupt(m)
write (*,*) m

n = 7
write (*,*) n
stop
end program main

subroutine corrupt (a)
integer a
a = 4
return
end
So I was assuming the desired functionality was to be able to include the same image several times on the same page where each image has a different stroke/fill colour (like you might do with the Font Awesome icon font). To do it in the way you suggest would mean a different SVG file with the CSS file modified for each one? If so it means you couldn't cache the SVG files.
It's useful when you want a sentinel object and you don't want to use None as the sentinel because it is a valid value. Some discussion here:

http://www.ianbicking.org/blog/2008/12/the-magic-sentinel.ht...
Part of the problem is that most mobile browsers don't allow browser extensions to block all the JS bloat. There are other ways to fix the problem that won't destroy the open WWW.
I've crashed and burned on SaaS enough that I'm very into the landing page approach -- don't build the product, but convince people you have so that they can click the "buy now" button. That way you feel more confident that the market exists while you're actually building it. After all the projects I've failed at, nothing is harder for me to do than spend 200+ hours on something without having a clue whether it will reap benefits or not. Corey spent 100 hours trying to gather traction. He could have potentially skipped the 100 hours it took to build it and instead just tested the sales side.

There are people who can know where a market is and confidently blaze straight into it without any validation. I think I'm just not that genius or lucky.
Right? Every single economic decision we make could be framed as a 'letting people die' choice.
Can you elaborate on why it's valuable to go through different books in parallel? My goal has always been to do one thing at a time, so the idea that the opposite if beneficial is interesting.
Yes. Scott Perry from Ryder is speculating. But Reuters apparently has an unnamed source.

Here's the news:

> Tesla Inc (TSLA.O) next month plans to unveil an electric big-rig truck with a working range of 200 to 300 miles, Reuters has learned.
I haven't logged on to Facebook since March, and frankly I don't miss it. I'm not happier since I've instead filled that time with vapid alternatives such as HN.
Honest question. If it really smelt, would you still be offended? I am genuinely curious. I watched Bill Burr stand up comedy routine recently and he touches upon a similar topic. Though its comedy, I thought he made a good point - shame is a valid human emotion, why are we as a society so against feeling it, even when it is justified.
Kudos to the collaborators.

It seems everything these days is going either Rust or Go.
this just in: smart people have existed in most civilizations throughout time, and they did smart things before we "think" they did, and independently of each other (ie "rediscovery" of all kinds of things from modes of thought to technology happens a lot)
Correct answer. My car's color is Blue Sensation...
NO, a higher licensing bar for human drivers will NOT solve the problem, it would only exacerbate it (and I'm ALL FOR setting a higher licensing bar for humans for other reasons).

The problem here is NOT the untrained driver -- it is the attention span and loss of context.

I've undergone extensive higher training levels and passed much higher licensing tests to get my Road Racing license.

I can tell you from direct experience of both that the requirements of high-performance driving are basically the same as the requirements to successfully drive out of an emergency situation: you must
1)have complete command of the vehicle,
2) understand the grip and power situation at all the wheels, AND
3) have a full situational awareness and understand A) all the threats and their relative damage potential (oncoming truck vs tree, vs ditch, vs grass), and B) all the potential escape routes and their potential to mitigate damage (can I fit through that narrowing gap, can I handbrake & back into that wall, do I have the grip to turn into that side road... ?).

Training will improve #1 a lot.

For #2, situational awareness, and #3, understanding the threats and escapes, there is no substitute for being alert and aware IN THE SITUATION AHEAD OF TIME.

When driving at the limit, either racing or in an emergency, even getting a few tenths of a second behind can mean big trouble.

When you are actively driving and engaged, you HAVE CURRENT AWARENESS of road, conditions, traffic, grip, etc. You at least have a chance to stay on top of it.

With autopilot, even with the skills of Lewis Hamilton, you are already so far behind as to be doomed. 60 mph=88 feet/sec. It'll be a minimum of two seconds from when the autopilot alarms before you can even begin to get the situation and the wheel in hand. You're now 50 yards downrange, if you haven't already hit something.

Even with skills tested to exceed the next random 10,000 drivers on the road, the potential for this situation to occur would terrify me.

I might use such a partial system in low-risk situations like slow traffic where its annoying and the energies involved are fender-bender level. Otherwise, no way. Human vigilance and context siwtching is just not that good.

I can't wait for fully-capable autodriving technology, but this is asking for trouble.

Quit cargo-culting technology. There is a big valley of death between assist technologies and full-time automation.
>The whole idea of the phone is to provide unprecedented privacy, security and autonomy by running an entirely FOSS Debian-based GNU/Linux stack (even including CPU & GPU drivers!)

Call me pessimistic but I don't think we will see a FOSS GPU driver anytime soon.
I'm curious, if you're willing to share, what were the projects you worked on that failed?
Some shipping networks may be more amenable to swapping than consumer markets, too.

If I were swapping batteries, I would have some concern about the condition that battery was in. In the consumer market, it's hard to manage that in a trustful way.

Some shipping networks will allow swappable packs to remain in the possession of one entity. Hopefully, that entity trusts itself.
print("'; drop table users")
It's "good" in that fewer societal services may be needed.

It's "bad" because there's no buffer to absorb increase in demand of production and service creation
Although you are technically correct (the best kind of correct), it is still a shortcoming of objects (or maybe just their implementation in Java).

It is just a bad idea to implement the '==' operator using comparison on addresses instead of on values and I consider languages pretty low-level that do that.

In a sane language == is always a function adhering the attributes of an equivalence relation (reflexivity, symmetry and transivity), where a user can expect an actual value comparison - AFAIK one is advised to overwrite `equals` in e.g. Java, but I do not think this is good design.

//edit:

There is no obvious answer, as one could argue, that languages just use different names for the same concepts ('==' vs 'equals') and consider comparison by value or by reference more fundamental (and choose '==' for that).
The irony is that the kids seem to focus on the screen for a very long time, while we worry about their attention span.

I think a lot also depends on the content.
That article is so poorly written and incoherent that I suspect it was machine generated, or at the very least machine translated.
I feel similar. If they provided a fully open phone where they worked closely with copperhead, it would be significantly more interesting.

Make it dual compatible, work with copperhead/AOSP android and whatever they are trying to invent.

Open hardware with hardware switches and a separated baseband is fairly interesting just by itself TBH.
"As its use has proliferated, so has its effects...

...the interviewer, apparently, asks young people (age 18 to 22 years old) the following: whether men with the (device hidden) are human or not; whether they are losing contact with reality; whether the relation between eyes and ears is changing radically, whether they are psychotic or schizophrenic; whether they are worried about the fate of humanity."

Can you guess the device? It's the Sony Walkman, and the time is the 1980s.

https://en.wikipedia.org/wiki/Walkman_effect

The arguments aren't new or novel. Hosoda was saying similar in the 1980s, and the Walkman just as easily isolated people in the 1980s as phones do now. yet somehow humanity survived.

Remember pagers? They were the device of choice in the 1990s for kids, and they were pilloried just as bad, and even linked to drugs. There's a pretty decent history of people panicking morally about new technologies and their dehumanizing effects, and generally people have adapted more or less fine.
They actually have a driver-facing camera in the Model 3, which is presumably coming to their other cars in a future refresh.
I wrote a blog post about this in the past. It's really fun going through the oddities of the language like this.

It caches small integers, but also literals used in the same interpreter context (I'm probably getting that last term wrong). You'll get different results if you run these in from the shell as opposed to executing a script, try it out!

Here's a fun example

>>> x = 256; x is 256
True
>>> x = 257; x is 257
True
>>> x = 257
>>> x is 257
False
>>> def wat():
... x = 500
... return x is 500
>>> wat()
True
> It's still enough that Mars Global Surveyor used it to make up a 1,250 m/s delta-v deficit.

It took MGS 15 months (not counting delays) of aerobraking to do that. MGS only weighed 1000kg too. Maybe it could work for shipping large, pre-assembled, empty hab modules to Mars before people get there. (Low density, higher drag, no rush.) But not practical for actual human bodies or even resupply since the Hohmann transfer takes a mere 8.5 months. Adding an aerobraking maneuver could easily triple the transit time.
You nailed it. The problem is not "kids with Tech". The problem is parents giving away their attention to "a device" instead of "a child". And make no mistakes - it is instead of.
The title is taken from the headline of the article, which was written by an American news company, about an American corporation, about a product destined to debut on American roads. It makes sense to use American measurements considering the context.

I'll concede that it is a bit silly for America to still be on the Imperial system.
Tesla’s electric semi truck will reportedly get 200 to 300 miles per charge
How to Get a Product Management Job at Spotify
Spotify Signs Warner Music
This doesn't sound very promising. There may be a niche of some kind here, but this is a very expensive, very short distance and very light weight alternative to diesel trucks.

* 200-300 miles is around a 5 hour day when long haul trucking typically has a 10 hour day.

* 4.7 ton payload (9,400 pounds) when the average local haul is probably closer to 10 tons.

* Overnight recharging on a platform that values short downtimes.

* Will likely cost 2x what a diesel truck costs.

What you have here is a truck that costs twice as much and goes half as far with half as much load. The price/ton to operate this electric truck is going to be 4-8x what it is to haul with a diesel truck.

If Telsa keeps pushing forward with this as is, business majors are going to be studying it in 10-15 years as an example of a terrible business decision that was pushed through despite all the red flags.
I don't agree with your premise, that a variety of clients makes a representative inoculated against bias. If anything, it makes certain biases more pernicious as you examine the circumstances of your selected client roster while increasingly discounting other stakeholders.

I've seen this bias arise in senior practitioners with successful practices across industry groups.

In any event, her person is somewhat tangential to the important point: the react license is a substantial issue to a subset of people and organizations.
It takes wisdom to know what things you can fix and what things you cannot.
Do you see no benefit in knowing pop culture? It's hugely important for socializing in the real world, and socializing is one of the main points of life.

I'd even say I was stunted socially early on for not participating in much pop culture. Sports and music were important even all the way back in elementary school.
I'm not sure why this is on the front page. I mean, $1 that you just made yesterday doesn't really indicate product/market fit, nor seem very noteworthy in general. If anything, it seems more like a midway point in the journey of what you might expect to get there. You might have to pivot several times after realizing traction is not stable or perhaps not scalable vis a vis marketing efforts, as has been my experience. Kudos to building something though.

Edit:

I get the point others are making about celebrating a milestone and your first sale being the stepping stone to the next, but I don't think it addresses mine:

Is $1 that you made just yesterday really enough data to demonstrate to others what to expect? Is there really any conclusion that can be drawn from such a small experiment? Maybe it's just me, but I feel like there would be much more interesting insights to discuss after waiting more time or when more sales occurred.

Honestly this looks more like an SEO piece given the keyword rich external links in the article from a high PR domain and boost from HN. The author has mostly just submitted his own articles on HN to boot.
I suppose it depends on the course. I have really fond memories of the "Chinese for Beginners" and "More Chinese for Beginners" courses from Peking university I took on Coursera. They managed to engage me, I really enjoyed the teaching style and I learned a lot in relation to the time spent, it was probably the most efficient Chinese learning method I've taken.

Then I went into a course in edX and the website was way better, the platform was miles ahead, the forums were better, the video player was amazing with the ability to change video speed and add subtitles, etc... but I dropped out in like two weeks!

Now this post has motivated me to look again in Coursera and there are two specializations for Chinese that didn't exist before, one from Peking University (with different teachers to the one I remember) and another from Shanghai Jiao Tong... I'm going to choose one and give it a try :)
>Black cars are better but have always been expensive and harder to use b/c of pre-booking

They also offer a consistent experience and pre-booking is often a feature. I use black cars to go back and forth to my home airport way more often than I use Uber/taxis/etc. when traveling.

>Hotels/Motels offer dubious over-priced quality.

Again consistency and reliability. I don't generally love the chains but I also don't have complaints about them which is what I care about most of the time.
The real ProTip is in the comments. :)
What made the Moon? New ideas try to rescue a troubled theory
The arguments made in this article are misleading in my opinion.

The article claims that the Facebook patent grant is no big deal because:

(1) Yes, it has defensive termination, but defensive termination is standard.
(2) Even Apache's own Apache 2.0 License has defensive termination.
(3) And while Facebook's defensive termination language is on the broad side, it is similar to IBM's CPL 1.0 (an OSI approved license).

The first two points are completely true, but the third is misleading at best.

First, IBM's CPL patent grant triggers termination if you sue a project contributor for software patent infringement. Facebook's patent grant terminates if you sue ANYONE if ANY PART of your patent claim relates to ANY product or service of Facebook or ANY of it's corporate affiliates. That's about as broad as you could possibly get.

Does that mean that suing a Facebook shareholder like Microsoft for patent infringement totally unrelated to Facebook could invalidate your React patent grant? Who knows? I bet your lawyer hates you for asking.

Second, the article claims that the "CPL is already approved by the Open Source Initiative as compliant." Using the CPL 1.0 as a point of comparison of what is a normal OSI-approved license is completely silly.

If you check the OSI site, the CPL is technically classified a "Superseded license" which means it's not intended for further use. It was formally replaced by the Eclipse Public License (EPL) about a decade ago. Most notably, the newer Eclipse license has a much less strict patent termination clause.

So why did Eclipse go through all the work to re-write their license and replace CPL? This is important - I'll cut and paste directly from the Eclipse Public License FAQ [1]:

"Why was the EPL written?

[..snip..] it addresses concerns some Eclipse Foundation members had with how the CPL deals with possible patent litigation."

In other words, the CPL 1.0 had the exact same patent grant criticism lodged against it - so Eclipse ditched it and re-wrote the license and deprecated the earlier license.

So saying that "Facebook's license is normal" because it's a more broad version of a license that OSI suggests you no longer use is pretty misleading in my opinion.

[1]: https://eclipse.org/legal/eplfaq.php#WHYEPL
Will it be at loss? I normally avoid the place but it's close to where I live. I wanted to get some nicer mushrooms for a meal than what I'd normally get but they only had the same types as everyone else. Went to aldi that same day and saw the exact same brands and packaging but with a few more types.

The button mushrooms at whole foods were six dollars. The exact same ones at aldi were under three.
> "This strikes me as a splendidly healthy way to approach life online: let your online persona take the criticism, while you get on with living."

If only it were that simple. It wasn't my "online persona" that lost friends due to publicly showing support for Trump online during the election cycle, it was me. It was real and it hurt.
Amazon: We're Lowering Whole Foods Prices on Monday
I hadn't really looked at Julia before, so I started digging, and its really nice! https://julialang.org/

Given this addition of GPGPU required for contemporary compute applications, Julia looks like a compelling alternative to other languages in the space.
All of the comments re: swappable battery packs are missing the end goal. Once the driver is gone from autonomy, these fleets are going to be dirt cheap to operate.

It won't make sense to swap a battery pack when you can just park one truck on the charger and let another take its place.
This is not true at all. Tesla's do not use the car in front to switch lanes.
Carbon Copy Cloner 5
I think that this is an important point: that just because something isn't in a journal, doesn't mean that it hasn't been peer reviewed!
At least in the US, if we urgently needed to send something to the moon in 8 years, we would not be able to do it. Between politically making it happen, deciding who spends the money on it, choosing a contractor that represents the right disadvantaged special interest group, years of contract negotiation, town hall discussions, environmental impact studies, project management failures, budget overruns, pork barrel carve-outs and jobs programs for various congresspeople's districts, etc. it would take way more than 8 years.
It's not as precise as I'd like, but there has been an independent investigation of the safety of Autopilot. After the first fatality while on Autopilot, the US National Highway Traffic Safety Administration wanted to determine whether (as many fear) Autopilot posed a danger to drivers, and found that Autopilot was safe enough to keep on the roads and that Autopilot led to a 40% reduction in crashes: https://techcrunch.com/2017/01/19/nhtsas-full-final-investig...
Spicy raisin bars, an old family recipe. And a cucumber.
Rich Hickey reminds me a little bit of Bob Ross. Maybe sometime many years in the future Rich will be known by as many people as Bob is today.
Are you sure auto steer was engaged? I also had a Tesla for a couple of years and AP absolutely slows down in curves consistently.
Why is value-equality inherently more sane than identity-equality, in an object-orientated language? Value-equality takes an unbound amount of time to compute, as well.
I use a cheap lock and don't expect it to hold up against any but the most lazy attacks. I don't trust it.
Does LOAS use Titan, then?

https://twitter.com/jbeda/status/715373975182807040

Will you convince Niels to publish a paper?
https://stackoverflow.com/questions/132988/is-there-a-differ...
Thanks for the recommendation! I've been interested in getting reviewing some basic biology and never really thought about looking for a MOOC..
Congratulations, keep up the good work!

I noticed there seems to be a webbrowser widget too, which I'll have to play with.

'Added PDF as a target Surface' that sounds very useful too!

I'm just wondering would it be possible to make the gtk widgets copyable, as wouldn't that mean you could remove the clone! macro calls, or am I mistaken there?
Yes, Reuters learned it from Scott Perry's speculation...
That was my misunderstanding then.
Non biological oil exist. It can't form on Earth since the algae completely change our atmosphere, but it can form in other celestial bodies.

It would be pretty useless there too, since there is no oxygen to burn it.
Show HN: Adding Free Play to an Arcade Game
That seems like a circular argument. It's not important for the universe to have a purpose, or to "care"...except to us. Things don't need a reason to exist.
It's more that they know they will, with near certainty, never be held accountable for improper use of force, so there's no reason not to immediately escalate the situation.
Driverless trains so far are only used in mass transit so... I am afraid these are daily experience.

For the second part of your argument, there are multiple problems, again backed by examples in the railway world.

First, a politician will think twice before casting a devilish image of drivers. Having all the professional drivers against you is essentially a political hara-kiri. There is a reason why it took 10 years to migrate Paris Line 1 to driverless, and it is not technology.

Second, you would not believe how difficult it is to reach consensus on the fact that drivers are unsafe compared to a machine. Still today, even after decades of operations with no incident, there are still people in the industry that argue otherwise... The most telling example is the high speed derailment in Santiago de Compostela, essentially due to the fact that the driver is considered a good enough guarantee to drive a high speed passenger train up to 200 KPH... Sigh.

EDIT:
References
[1] https://www.witpress.com/Secure/elibrary/papers/978184564494...
[2] https://en.m.wikipedia.org/wiki/Santiago_de_Compostela_derai...
I've worked on code that took that long to compile, and the cause of the problem was usually bad recursive makefiles doing work over and over again.

At the other extreme I've also worked at Google and have seen insanely complex C++ code bases compile in 30 seconds flat.

Multiple hour build times usually show that nobody smart enough had the interest and authority to solve the problem properly. It doesn't generally mean that your project is awesome. It certainly isn't something that I would brag about.
Do you have any resources on the transition from engineer to a consultant?