skysight-inc/HackerNews huggingface dataset:
> I don't really make mistakes that often

Famous last words. Everyone makes mistakes. All software has bugs!

But let's grant that you don't for the sake of argument. Is the rest of your team similarly infallible? Even if they are when writing code, will they be able to perfectly parse code they didn't write? What about when you're refactoring and you want to make sure you didn't forget to update any place a function is called? What about when you come back to the code in six months and don't remember what it does? What about when the code changes but you forget to update the JSDoc?

If you're writing something quick and don't have to work with people, sure, I'll buy that types are too much overhead. But when you start doing things at scale, they're a powerful tool for checking and documenting your code.
>superchargers (which aren't everywhere)

These are probably easier to deploy and maintain than hydrogen tanks, right?
Ask HN: Reneging Accepted Internship for Better Offer
Context:

A couple months ago I accepted an internship for this summer at a large, but unknown enterprise company.

The pay is fine, but the work is pretty irrelevant for the job market; Proprietary software, proprietary languages that only a few old companies use today and I'd be working on internal tools. I have no interest in working there as a full-time employee.

I got the job after being referred by a friend who is working there this summer.

The Dilemma:

I recently got an offer out of the blue from a previous internship boss who moved to a new company. The pay is 50% higher and the tech is modern and relevant. I'd also be working on production software and meaningful problems.

I am concerned that if I accept this new job, it could negatively affect my career as reneging would leave a black mark and they have already finished hiring.

Is it worth it to stay at the first job that is less relevant and interesting to prevent burning bridges?

Should I worry about burning bridges if I don't expect work with the 1st company's people anywhere else?

(US)

EDIT: note, both internships don't start until June
If they do it better and cheaper they care
Llanfair­pwllgwyngyll­gogery­chwyrn­drobwll­llan­tysilio­gogo­goch
There will come a time when Musk needs to step away from Tesla, but that day is not today. He's publicly mused about stepping away (SpaceX is his real fav), but had his tenure renewed recently.

If all Tesla did was sell pretty good cars, they'd probably get crushed by the incumbents. Tesla, is selling way more than that - they're selling the idea of a brighter, better future. You're not just buying an EV, but you're helping climate change, you're reducing pollution, you'll be reducing human death and suffering and ending traffic jams and hey - it all comes in a exclusive, technologically-advanced, aesthetically pleasing package.

Now, some might object that this is largely a bunch of marketing/PR bullshit, and you will likely be technically correct, but would still miss the point. If people wanted a nice, efficient EV, they'd buy the Bolt, which by all accounts, is pretty damn good. But Tesla sells this "bullshit" because it's what people actually want to buy, and EVs happen to be the delivery vehicle. So as much as you might dislike this "bullshit", it's a core reason why Tesla even exists in 2018.

Where does Musk fit into this? He happens to be the personification of this idea today. In the popular mind he is "cool" so when you buy a Tesla, you're also implicitly buying part of this cool, much like buying an iPhone back in the day got you a part of Jobs' cool. Eventually Tesla will become it's own thing (as Apple is today) and outgrow Musk, but that's still years away.

OTOH, if you want to know what's actually going on at Tesla and what they need, this will probably give you the best idea out of any material on the internet:

https://www.youtube.com/watch?v=CpCrkO1x-Qo

It's an in-depth interview with a guy who owns a consultancy which disassembles, analyses and sells reports on vehicles, both for manufacturers looking for research on their competitors and at improving their own products. His findings are extremely interesting - he's downright astounded at how incredible parts of the car are (battery, electronics) and thinks established companies should be quacking in their boots. OTOH, he thinks they've made a number of blunders in other parts, such as their production line design or parts of the car (for example, he thinks the body is 20-25% heavier than it needs to be, with parts that serve no discernable purpose)
You'd need access to the runtime environment in order to do that.

That said I wish somebody would make an IDE that would tightly integrate IPython so I could get IDE autocompletion in a paused test. I spend way too much time writing code in IPython prompts and copying it back.
When Sloan took over, GM was 3x smaller than Ford.

When Sloan retired, GM was 2.3x bigger than Ford.
Gpdr compliance is as much as not choosing to retrieve data after a certain point as it is not possessing that data.

It's a bit of an existential point, but if your logic allows the disclusion of data before a certain point of time, is that not effectively the same as not possessing it?
We got one for our makerspace and it is a very solid tool. Amazing for parquet.
I had, but this was several version back, couldn't find any info of what was failing and also waited a major version update before doing the switch. Switching editors always causes stress. That's why it's hard to gain users back once you made a mistake on this (very competitive) field. I would only try VS Code again if Atom messes up, no matter what new micro site Microsoft PR puts online.

Edit-to-add: with your downvote you are invited to explain why/if I'm wrong.
Why wouldn’t a $1400 dollar shapeoko or x-carve be better than this?
That doesn't make him an engineer.
DriverPack Solution 2018 17.7.73.5 Offline Full ISO Free Downlaod [HERE]
There's a fine line between learning lessons from history and assuming that a lesson from history will inevitably happen again in the future. People, companies and life have elements of chaos and luck that have so far made consistent, accurate future predictions unreliable.

People are good at identifying patterns, but we sometimes make the mistake of predicting the future based on past patterns. A classic example is the stock market where no one has reliably predicted the future without insider information.

So, yeah it's good to know the history of GM, but let's be careful about projecting that onto Tesla.
tldr: Hydrogen cars are worse than battery electric cars and always will be.
Ask HN: Is attending tech conferences worth the investment?
I am thinking about hosting a conference solely focused on open source and open protocol design for developers and tech execs. Would such an idea get with devs and hackers?
My mistake. You know Boston, and it's odd layout. After a while those multi-billion dollar endowments kind of run together.
So, this is about six and a half years ago (December 2011)

Distrust of the Web PKI (the Public Key Infrastructure for SSL/TLS on the Internet that basically falls out of what the Netscape Corporation built in the 1990s) was high and lots of people were sure better was possible. Moxie was one of them and so was I.

So - what happened? Maybe somebody wrote a good article summarising, and will link it here, but otherwise here's a brief summary in two halves, plus a bonus

1. Web PKI trustworthiness improvements. The CA/B Forum Baseline Requirements have been tightened up somewhat, so that the accepted minimum standard is higher than it was. Google's Certificate Transparency work ensure we (the public) can see what they're up to, rather than relying on rumours and guesswork, and so we can insist they do what they've said they would before disaster strikes. The Mozilla project's mozilla.dev.security.policy, open to the general public, began to take its oversight role more seriously.

2. Alternatives proved trickier than anticipated. e.g. Pinning sounds great, and it works for Google, Apple, Microsoft. Most of the time. But it's a massive foot gun, and in some forms (HPKP) it's also a ransom mechanism; DANE leverages DNSSEC, but when you try to do that you find that a surprising number of users don't have working DNSSEC, indeed their DNS doesn't work properly even without DNSSEC; TOFU approaches which worked great for SSH in practice turn out not to suit the way ordinary users interact with the Web.

Bonus: Some fraction of the people who expressed concerns like Moxie turned out to mainly, perhaps unconsciously, not want to pay $$$. Let's Encrypt almost incidentally (because it's automated and machines don't have wallets) is free at the point of use. It's surprising how many people who were absolutely certain they hated the Web PKI in principle came around to it once it was free...
I blocked it at the dns and firewall of my network.
> using an ad blocker to block Facebook like/share/login/comment on third party sites,

Would blocking domains used for Facebook embedded content using the hosts file also work for this purpose?

I would think this would have the advantage of applying to all browsers on ones machine, and not requiring the code to remove the references from the pages on each page load (instead doing stuff when resolving the domains).

Is there a reason this wouldn't work as well?
That is certainly something an add-on or external tool could provide.

Immutable is only immutable if you don't have write access to the lowest layer of storage.
What if they are not PBHs but particles produced by evaporated PBHs? Does this make sense at all? I'm not a physicist.
On a related note, Pycharm has it IIRC
The 9MB PNG is unoptimized. By passing it through optipng and advdef I managed to losslessly squish it down to 7MB.

Also, I would be remiss if I did not point out that this:

cat ping.txt | pcregrep -o1 ': (\d+\.\d+\.\d+\.\d+)'

is a Useless Use Of Cat.[1]

It should be rewritten:

pcregrep -o1 ': (\d+\.\d+\.\d+\.\d+)' <ping.txt

[1] http://porkmail.org/era/unix/award.html
This isn't markdown-like.
Please, bring on the automats.
Google’s gen2 TPU was announced May 2017, and available in beta February 2018. That 2018.02 date is probably the appropriate comparison to Volta’s 2017.12 and Zen’s 2017 dates.

EDIT: I’m trying to draw a comparison between the availability dates (and where the companies are now), not the start of production (and their development velocity). Including the announcement date was probably a red herring.
Why not go to a lower temp?
This site definitely kills the Firefox on both Mac and Android (can barely scroll or not at all). Hopefully not a sign of things to come...
SurveyMonkey offering contract workers full benefits
My favourite "features": the ecosystem and the development speed.

It keeps getting better and better and better month by month and it now even knows how to fix small stupid mistakes like a missing this. when trying to access a field in ts etc.
I recently switched to JetBrains products. Their IDEs are much smarter. Infinitely better than VS Code, Sublime and whatnot. It's the closest thing to pair coding!
When I was younger my mom experimented with one of the Buddhist organizations in the United States that follows the Lotus Sutra. From what I recall of that time, in earlier writings Buddha wrote that women could not become enlightened because they were enslaved to their emotions. In the Lotus Sutra he recanted this. If I'm remembering correctly that would explain the sexism in some Buddhist organizations. Or it may be an excuse for perpetuating it.
It is a token gesture because there is little chance of it being done by enough people to make a difference. I base this off the documentary Before the Flood, in which DiCaprio says that in the early 2000s the big tactic was to promote home energy conservation but it amounts to very little and it has been realized that other more involved strategies are needed. This is stated explicitly early on, and it seems very plausible to me
Considering Japan persecuted Japanese Christians so ruthlessly that they went underground for hundreds of years(1), if only they would portray them as such. If anything, anime is notorious for making any Christian in it a distaff version of shinto, just glammed up; TV Tropes has the trope "All nuns are mikos" to show it. (2)

Anime's treatment of Christianity and its own Christian history is insulting. Amakusa Shiro is an evil boss in a series of videogames, ffs,(3) Their treatment in real life demands massive censure; Christians never did anything to their co-religionists on the level that Japan did to their own believers.

(1) The subject of Endo's "silence," also look up Kakkure Kirishtan for the sect.

(2) Notice all all nuns in anime tend to be 23 years old or under?

(3) Samurai Showdown to be exact. Shiro led an uprising of Roman Catholics against persecution, one that was brutally put down.
But quite often your first two or five models will be wrong. Usually the exact problem is not clear early on...

Delaying data architecture decisions is usually better than attempting to plan for them up front.
>gravitational lensing studies don’t support it

As a non-astrophysicist, just scanning the wikipedia entry [1] it appears to me that gravitational microlensing studies must be fiendishly difficult, you probably need massive amounts of data and of compute power to get to highly confident conclusions. Is my impression accurate?

If that is so, than the MACHO theory should not be discredited that quickly. It is after all the only theory that does not require any new physics in order to explain the missing mass.

[1] https://en.m.wikipedia.org/wiki/Gravitational_microlensing
I own Facebook shares. I’m not worried. Facebook owns several other properties and has the cash horde to buy more properties.
I could live with 1MBit/s — but not for 20€/month.
Ah, right I wasn't aware of that. Still, AFAICT Gradle isn't nearly as 'ambitious' in tackling the hard problem of hermetic/reproducible builds as e.g. Bazel, so who knows how reliable that build cache actually is.

You may well be right about Mill, but it's probably too early to tell exactly where it'll land in the design space.

(Btw, I think it's entirely right to be wary of yet-another-build-system, especially when it doesn't seem to do anything that other systems don't already do.)
Tesla Contract Workers Pressured to Accept Debit Card Instead of Check: Lawsuit
Ventilated buildings with power, but no networking gear or servers can surely be converted. But it's hardly a slam dunk. A lot of other buildings could be converted to that level too. So I think the other factors in choosing a data center location may dominate the decision.
They went in to a decline in the 60s and went out of business completely by 1991 - mostly replaced by Burger Kings.

Apparently the market only really likes them when people are short of cash.

But, they could be making a comeback.
I'm not a huge facebook user, and really eschew social media in general. I only use these sites for promotion, as I have no personal gain from it. None if my friends use Facebook much, and that hasn't stopped us from keeping in contact.

In any case, I'm just not sure why people go on and on about deleting these sites. Those who are concerned aren't that active (if they use it at all). Posting on Hacker News is preaching to the choir. Anyone who's had this discussion with regular Joe's and Jane's knows the dead eye glaze all too well.

If it makes people happy to use Facebook or whatever, we aren't supposed to judge them. We, as the tech community, ARE the problem, and we add to it with every new IOT device, AI invention, and every database we build. It's up to us to take responsibility before being called on it. We are supposed to be the trusted ones, and we can only betray that trust because of the ignorant masses.
I think loop unrolling is super cool. We're typically trained in programming to try to eliminate the kind of reuse that unrolling typically looks like, but when applied properly it can work really well. I guess that applies to most tools, though.
Warms my heart to see this. This is compassion for customers at its finest.
Me too. Have you find anything good so far?
Very interesting!

> Besides the battery, the biggest component(s) by weight is/are the motor(s). Current generation electric cars use still fairly heavy central motors with an actual axle to the wheels. Upcoming generations will use in-wheel or near-wheel motors that have almost no drive train associated with them: no transmission, no gearing at all, no weight lost to things that aren't necessary. This is one of the reasons electric cars can actually become lighter than traditional gasoline-powered cars; the chassis can be reduced because there are almost no driving forces on it anymore. Note though: this is an advantage of both battery and fuel cell electric cars!

Motor on the wheel seems so obvious but still no one seems to build such a car. I’ve asked automotive engineers about this and the answer I get is often:

Wheel based motor would make the wheel heavier and thereby increase rotational inertia which decreases acceleration and increases the required (kinetic) energy for a given speed of the car. I also heard that the increased wheel weight reduces the performance of the suspension.

I suppose another problem is the need for two (4 for 4WD) gear boxes, since electric motors are low torque, high rpm. The author says „no gearing at all“ but how is this feasible with an electric motor?

Anyone in the knows can comment on this?
Can you share that talk here too?
I would be thrilled if 99.9% of my input files were UTF-8, but I'm not the one writing them. SJIS remains in widespread use in Japanese companies and tons of legacy codebases do not work with UTF-8. If you're lucky there's a config flag for UTF-16.
I expect a more conservative CEO would have been better at setting and meeting expectations, worse at marketing, and maybe worse at thereby gaining access to capital under favorable terms (including via reservations). A traditional CEO would have been better for investors looking for low volatility (but then why are they in TSLA?); maybe not so good for Tesla and its supporters.
Join a decentralized venture capital studio
http://Kaiya.io

Kaiya is a decentralized, socially conscious venture capital studio.
https://www.youtube.com/edit?o=U&video_id=IGjpSr4jSC0

We're looking for moonshot thinkers and builders to join a co-op of talented people to create a next generation venture capital studio.

The community submits ideas.
The community votes and chooses an idea.
The makers who contribute earn equity.
The profits from the project are given to the equity holders.
Kaiya as a studio assists with the funding and legal structure to enable these projects.

We are looking for makers to join our co-op and submit ideas for the first company out of the studio.

Join our mailing list here: https://andrewpierno.us7.list-manage.com/subscribe/post?u=d5aa43370607205a96fce31d6&amp;id=0416d465fe

Join our Telegram here: https://t.me/joinchat/AAAAAErKJlcRvbOC_iGozg

Thanks,

AP
I deleted Facebook years ago, but so many of my friends have persisted or increased their usage.

I think instead of scaring people about privacy you have to first understand and appreciate the value people get out of Facebook. For me, it's that I can quickly "feel" connected to and get validation from my friends and community.

Trying to scare people into giving up something they enjoy doesn't usually work. Instead, we should be helping people realize how they can build connection outside of Facebook.

For me, I just gave up on the "did you see on Facebook" conversations with my friends, but not everyone is willing to just abandon a category of shared experiences with friends.

The day will come when we see Facebook as a net negative, but I think it's a long way off unfortunately. The number of people leaving Facebook has to increase to a critical mass where "did you see on Facebook" conversations become un-cool.
And then he spent the next decade studying with every philosopher he could find, from theists, atheists, agnostics to materialists and then finally decided to figure things out on his own. Only during the last period before his enlightenment did he sit under a tree. His meditations would not have borne fruit without all the experiences that preceded it. Source: raised as a Buddhist.
I use the Overtype extension for that: https://marketplace.visualstudio.com/items?itemName=adammara...

It hasn't been updated in over a year, but I've yet to have any issues with it.
Poor hackers still face same dividing the pie problem. Thats like saying people who got a hobby are less xenophobic. Which I doubt is true. More like rich people don’t care about daily issues of poor people and then there’s a divide resulting in Trump.
The concept is pure the implementation is flawed fallacy.
I hate how westerners view Religion. "Oh, Buddhism is a thing of peace an enlightenment, as opposed to Christianity, which a vicious God condemns people to hell." Never mind the fact that Buddhism has multiple hells whether its Chinese or Japanese (possibly in the hundreds where the tortures to people are all described in glowing detail.) We're talking about the faith that gave us Sokishinbutsu, self-mummification while alive.

Most folk Taoist and Buddhist beliefs would probably horrify people who tend to think New Age bowdlerization of eastern faiths is what really goes on.
An interesting life story and comparison of Canadian vs. US immigration. How many of those Canadian immigrants are former US immigrants, how many are engineers...? I don't see anything supporting the claim in the title.
It isn’t totally discredited, but the constraints on it make it exceedingly unlikely. Against it:

No gamma ray signals as hoped/expected from evaporating PBH’s.

LIGO is not seeing PBH mergers at a rate that would support the numbers required.

Micro lensing studies don’t support it.

Is it’s possible, but it’s much less likely than other theories which allow for less fine tuning of parameters.

There’s a very good graphic that shows what I’m talking about. https://astrobites.org/wp-content/uploads/2017/08/constraint...

From: https://astrobites.org/2017/08/31/could-dark-matter-be-black...
The rental market is a huge barrier to widespread adoption of plug-in electrics.

I don't see it changing without government/tax incentives for the owners, which won't be happening under republican leadership.
I've never even seen log breakpoints before but is it really just a wrapper for inserting console.log()? That seems... kinda useless. From the video, it doesn't even look like it's that easy to clean-up once you're done with them (though maybe there's a remove-all function)

>Teach people to use the conditional breakpoint and just enter `console.log(...)` instead, it's overwhelmingly more powerful.

If you're going to print things for insight at breakpoint time, wouldn't it make more sense to just use watch expressions?
I don't think that's right. Christians do know what Christ believe - it's right there in the Bible.

I, as a non-Christian, might be skeptical of that, but believing it is part of the definition of Christian.
How would the attacker be able to deny access to data?
I'm at 90 at this point
> Better than film

I bet in the very long term it's not. I suspect that error correction on digital tape is only meant to address the problem of magnetic spots flipping or fading over time, but the tapes are throwaways as soon as there's detectable physical degradation or disintegration. Contrast with analog tape (or to speak to your point, film) which can be handled in all kinds of crazy ways (cleaning, baking, coating, etc.) in order to get at least a partial or imperfect copy of the original made.
Definitely yes!