skysight-inc/HackerNews huggingface dataset:
There are problems there though, because adding parking spaces makes driving more desirable for both EVs and non-EVs, and parking spaces tend to compete with bike lines in US cities. And as long as US cities remain car centric, having parking be expensive enough to be a deterrent to driving (or a major revenue source) is going to be a 3rd rail for local politicians.
Why not just use angular cli and be done with it?
Compromise is important, and one doesn't need to go the way of the Sith, but giving in on your morals is pretty much what leads to problems in this world.
> spec just gives you a framework to save on boilerplate.

> spec's runtime performance is atrocious.

How is that though? If you are reading stuff off of database/api you still have to do the same datavalidation even in scala, for example.

I might be misunderstanding what you are saying but what runtime data validation have specifically do with spec.
Are you serious? You need statistics or personal stories to know that people's lives have been upended by either dying themselves or having someone close to them killed or injured by an impaired driver?
"Riots are good for business" - MSM
Practicing debating skills on subjects you don't agree with can be enlightening. Often you will broaden your perspectives, and sometimes you find better ways to argue with how you actually feel outside of a debate context.

I try to internalize a lot of this when I find myself ignorant on a given position one way or another. It helps one to get out of ones' own box. It's also a skill that I feel too few people genuinely exercise and resort to talking louder and trying to shut people down instead of debating a position rationally. Once you lose your temper, you really lost the argument as far as most observers are concerned and look a bit like a nut.

I think too many people spend too little time in uncomfortable or awkward situations to a point where they're literally unable to deal with them. We've had a level of societal protection for our youth to a point where we're no longer raising functional adults but really big toddlers emotionally speaking.

Rational people should be able to have rational conversations with any rational person regardless of differences of specific opinion. We're at a point where that's approaching an exception and not the rule that most people are rational.
Given cannabis has a medicinal use for many how is fair to target it specifically and not also hold other medications that cause fatigue & drowsiness to the same standard?
I like you. I see the logic but now I wonder whether the article hints at the possibility that the principles aren't helpful. Following your logic it sounds like the only way to be sure is to wait until OP passes away or we have a large sample size of people who have similar principles.

What about the opposite though? We have numerous examples where people who some could argue don't have the best principles but have been very successful. Bill Gates, Larry Ellison, Steve Jobs, Carly Fiorina, Marissa Mayer, Henry Nicholas III, Elon Musk, John D. Rockefeller, Cornelius Vanderbilt, and more. Putting it bluntly, they just do what's needed to further their goals - and everyone else be damned if it's not helpful to their goals to help them out. If you go past the puff pieces and dig a bit you see the net effect of their principles is to let them win.

Maybe lack of evidence about the effectiveness of OP's principles is not evidence but it's reasonable to consider following in the winner's example.
In case anyone wonders why someone might answer "both" (other than an entirely undisciplined approach):

Tabs for line indentation, spaces for every other kind of alignment is one philosophy. It's the one that seems to hit the sweet spot for most of the issues that I care about (cross-editor consistent yet flexible management of line indentation depth as controlled by hits of the tab key + tabstop setting).

But if you're running the project and decide spaces are The One True Way™, I'll figure out a way to get the editor to do it for me and ask you for a raise for the trouble (and, of course, market standards). ;)
Please be advised, I've downvoted your comments asking "if you know better, where's your code?", because I think that line of argument is absurd and has no legitimacy.

To use some analogy, imagine I, a non-cook, have been invited to a restaurant by friends. After the meal I say to the waiter "this food is way too salty!", and he replies, "Oh yeah, then go in the kitchen and replace our cook!".

What, you think we all don't have dayjobs and can just devote our time to...

1) learn to code C/C++
2) learn about the OS
3) architect, code and debug a replacement

? Please don't be an absolutist and think "everyone can contribute to open source!", in the real world, time is finite.
> the goal needs to be to get China and India onto Natural Gas and then renewables

Is there much natural gas in China and India? China can possibly get it from Russia and a few other neighboring countries? What about India?
Ask HN: Anyone here trying to acquire an OLPC XO4 touch laptop?
http://wiki.laptop.org/go/XO-4_Touch

Tech Demo/Review of the original XO-1:-
https://www.youtube.com/watch?v=ioAsNfmpE8Q

Videos are basically only available for the original XO1, XO4 update comes with dual core, significantly lower power consumption and better materials, including video out. (Check the top link)

I think this is probably one of the coolest little machines that's ever been made. The screen is extremely performant in sunlight, it has an amazing battery life, It's FLOSS all the way down (fw, ec, graphics, peripherals etc) and I'd love to get my hands one one. I'd like to use it on my extended treks for taking notes at the end of the day. Since this device is optimised for use in areas where grid power isn't guaranteed, I think it will be a perfect fit into my workflow, my librebooted x200 doesn't have the battery life for this type of application!

I'm currently in negotiations with OLPC to procure 5 units (minimum order) for $230 not including shipping, tax and reship.

If 4 others are interested I can place the order and probably have it in a couple weeks.

Please do leave a comment if you are interested in coordinating this purchase.
Could also be related to the fact that Google is hiring a ton of people fresh out of college, given how politically active and sheltered from any kind of dissent views current college kids are.
Well, I don’t have firsthand experience but I imagine most “traditional” industries don’t have issues mentioned above very often. It doesn’t seem to me that insurance companies or bread manufacturers have problems with their employees getting entangled in the culture war.
It just looks so hot.
Agreed. With these stories, I tend to think the safest takeaway is "The narrator clearly felt XYZ" rather than "X1, Y2 and Z3 strictly happened"
> It makes more sense to me to calculate how much total free time they had compared to now.

You won't have much free time if you and your family can only aspire to reach the ripe old age of 30, if you manage to be the lucky ones who are lucky on the infant mortality lotto.
Love the parallel testing thing. I wonder if it’s already working with Rspec.
Any reasonable device of this kind would fail a nonzero perccentage of sober drivers and pass a nonzero percentage of intoxicated drivers. And not just because of noise -- some people drive worse sober than others do high. So don't hold your breath waiting for laws to allow it.
For all my JavaScript developers - just gonna leave this here.

https://standardjs.com/
i think Lennart should be commended. Certain "projects" have such breadth in scope that they seem undermountable because they require an entire ecosystem to follow. Init was one of these. He managed to change it, it hurt, but it was for the better, all things considered.
As is driving unimpaired.

https://www.stripes.com/us-army-soldier-three-others-serious...
I find xforwarding extremely slow and sluggish. Can/Do you use it efficiently?
I'm confused- in this specific case the team had an opinion on everything except for one issue. I think in that case silence says a lot.
Wow really? I would not have guessed anywhere near that high.
No Offence, but care to explain which part of this is not borrowing?

Edit: And not sure about the down vote.
Well stated description of the culture around this. I find it hard to take technical critiques of systemd seriously because the well was poisoned from day 1 by personalizing this to such a great degree.
>Yes, you might feel perfectly fine, but I don't want your subjective opinion of how well you think you can drive under the influence of marijuana to be the determining factor in whether we let you drive after smoking pot or not.

Couldn't you approach the same problem by testing the capabilities of the driver rather than testing the amount of a substance in their system (after all there are countless substances than can impair a driver, not just alcohol and marijuana)? Would an improved field sobriety test be a more appropriate product than an improved breathalyzer?
It is systemic, and the promotion of identity activism at the expense of economic activism has done a lot to cause it.

Realistically, "corporate diversity" usually means "we have diverse kinds of privileged middle class people in our offices."

E.g. a female CEO is considered a necessary diversity win, but generally no one cares if the food servers and cleaners - most of whom usually happen to be female too - are treated with respect and decency.

Does Google - or any other FANG - actively and practically support anti-poverty activism and awareness to anything like the same extent they support a relatively safe form of activism like LGBT pride?
I haven't used Rails since 5.0 came out. Might be time to take a look at it again.
But who gets to decide who gets a platform? What happens when those deciders abuse their power?

The danger in deplatforming is the inevitability of changing social mores. What happens if the pendulum swings the other way and the ones you consider to be on the "right side" of history start getting deplatformed?

If your answer to that is, "oh that won't happen", then you're oh so naive.
Its possible the Project Zero team consults or throws ideas to other teams. It is possible Google is able to recruit additional people of similar caliber for the silicon design teams.
2/3rd of social sciences cannot be replicated [1]. 52% of scientists think there is a significant reproducibility crisis [2] If that doesn't signal a reproducibility crisis I don't know what does.

Dogma is dogma, no matter the origin. Many people who are today dogmatic about the scientific method, would be the same people that would be dogmatic about religion in the 16th century. At the end of the day it is merely one lens of looking at reality, not the only lens. This isn't even touching on the fact that the scientific method is riddled with issues and ill equipped to tackle certain problems. Paul Feyerabend explores this nuanced issue in Against Method, which I recommend reading if you ever want to take off the pro-scientific method spectacles [3]

[1] https://www.npr.org/sections/health-shots/2018/08/27/6422183...
[2] https://www.nature.com/news/1-500-scientists-lift-the-lid-on...
[3] https://www.amazon.com/Against-Method-Paul-Feyerabend/dp/184...
Wouldn't this make sense?

https://medium.com/@hoffa/400-000-github-repositories-1-bill...

So the number of people that prefer spaces far outweighs the tabbers.

Now, take the pool of people that use spaces and tabs and let them compete for a 100k job. 9 times out of 10 even if randomly hired it will be a space person.

Also, as a by the way, on the medium post. The reason Java has so much tabs is specifically due to the default Eclipse formatting that prefers a mix Tab/Space approach. Which is absolutely horrifying in my personal opinion. I don't have any numbers but Eclipse probably holds 80%, followed by Netbeans and/or IntelliJ. (both of which default to spaces)
>> An array append function which returns a new array with the new element appended is purely functional.

>> The same function applied to the same input will always return the same value, and won't cause that to break for any other functions.

I think this is the essence of why a lot of developers use functional programming but I think that in this case functional programming is not a solution to the real problem which is an architectural problem.

If the relationship between different components in your system is clear and hierarchichal, you should never need to keep the same data/array in two places. You can come up with simple abstractions so that you only ever have one source of truth for each kind of state. That means you can read it anywhere but only write to it in one place.

I think that functional programming cannot solve this root problem, you will just end up with different symptoms. For example, instead of mutating a single array in unexpected ways, in FP, if you have multiple sources of truth, you might end up with multiple conflicting copies of the same data. Same root problem and it's just as difficult to identify and debug as in OOP, just different symptom.
As someone who has been through counseling, and with two immediate family members who are professional psychologists, I can tell you that "understanding someone's specific issue" doesn't matter nearly as much as one might think. People have this idea that the counseling process is analogous to a medical procedure: you go to the doctor, describe the problem, they diagnose you, and prescribe an intervention. That is not generally how it works. There is a little bit of that on occasion, but mostly counseling works simply through the process of rendering your feelings into words in the presence of another human being who is listening to you but in whom you are not emotionally invested and who is not emotionally invested in you. That, in and of itself, turns out to be tremendously helpful. (The same mechanism is in play in other kinds of human activities as well, like book clubs, writers groups, or religious gatherings.) You don't have to be black to learn how to provide this service to someone who is.
Frank Sheeran is widely thought to have made up pretty much everything in that book I wouldn't take his claims seriously at all.
Cloud Automation Services: On-Prem OpenFaaS Provider for VSphere
ugh, and i was just looking up the 5e stats, too.
Linux Foundation Cloud Native Training Bundle Sale
Did you buy and install that glass yourself? If not, it is Teslas fault.
Perhaps by comparing accident statistics for similarities in the two groups and then comparing the doses of each that lead to those similar accident outcomes?
What is the obsession with calling everything a "dog whistle". I'd love for people to just stop using that term as it's so emotionally manipulative and nonsensical it should just be thrown in to the garbage.
You better believe it! EAS is no joke, and FCC is right to take a hard line.

Not very many people know that tone contains data. (It's pretty interesting, really; see wiki link below.)

Broadcasters have an EAS box that listens for alert tones on other frequencies and repeats it over the broadcast frequency (and others may listen, etc). Among other things, the data in the tone affects how far it propagates, so if someone plays a tone over the air that's set to propagate nationwide, it's kind of a problem.

This isn't the first time this has happened, nor will it be the last.

Source: I worked on the engineering team at my college radio station (WSBF-FM Clemson).

EAS header: https://en.wikipedia.org/wiki/Emergency_Alert_System#EAS_hea...
> I'll figure out a way to get the editor to do it for me and ask you for a raise for the trouble

You don't have to "figure out" anything. It's the default of every IDE I've ever used.

I press tab, VSCode inserts 4 spaces. I press shift+tab, it deletes 4 spaces.

Nobody actually presses spacebar 4 times to indent unless they are forced to use vim on some remote machine.
The burden this man suffers is self placed. Unless words are spewed in his direction specifically or he is the target of some injustice personally, he could simply ignore everything and just go on living his life happily and at peace. I recommend it.
Quoting the original PDF:

> Over the last 5 years, I've heard co-workers spew hateful words about immigrants, boast unabashedly about gentrifying neighborhoods, mockingly imitate people who speak different languages, reject candidates of color without evidence because of "fit," and so much more.

Not to detract from this particular situation, but I've been thinking "fit" is also part of a more general cultural problem.

At my first real industry job (software engineering of commercial technical workstation software), shortly before dotcom gold rush, half my team was female, the engineers were mostly 30s through 40+, and everyone was skilled, but with no strutting.

I know not all places were like that, but "tech" hiring the last decade or two has really seemed to operate more like a stereotypical frathouse, complete with pledging and hazing (and sometimes even in-office frat-like parties, at at least one prominent company, as a friend described it).

I suspect we've gotten very bad about "fit", using it to dress up old exclusionary biases, and that a lot of people get an impression of our field being like that, and are turned off.
> America is 60x bigger population-wise

Right, so if they had the same level of police brutality you would have 60 deaths in the history of American police, or about 1 killing per year. Even if the police were racists and killed twice as many blacks, that would still just be one black dead every few years, then it wouldn't matter.

The rest of the differences are not important here. Racial diversity shouldn't be related to crime or shootings.
And don't forget that there's still a huge number of private homes which use coal fired boilers. Even if all coal power plants closed tomorrow, Polish towns would still be consuming huge amounts of coal just to stay warm in winter(and there's practically no regulations about emissions from those, it just goes straight up your chimney).
>As a matter of fact, it kind of disturbs the integrity of a professional environment to have these kinds of discussions during working hours anyway.

I don't see it possible to not reference these issues indirectly. For example, how many times do coworkers discuss children. If one is unable to have children, due to either medical issues or identity, their relationship to the topic is inherently impacted and they have a hard time avoiding the topic. They can sometimes punt by mentioning adopting or not wanting kids, but this still forces the individual to think about the topic even if they can hide it from whomever they are interacting with.

Is this a big deal? I would say that differs between people impacted based on their personal situations.
> none of the available counselors were African American

Respectfully, are you sure you didn’t mean “Black?” “African American” doesn’t accurately capture e.g., Caribbean and Latin American identities.
It is hypothesized that the increased release of methane via fracking is a large driver in recent short term global warming and the amount of methane released has been vastly understated by previous industry and government studies, even though it only lasts a relatively short time in the atmosphere.
https://www.biogeosciences.net/16/3033/2019/
Ask HN: Open-Source Stingray (Cell Phone Tracker)
Know anyone working on open source stingray devices? Is this a thing already?

If the tech were open source and out in the open, wouldn't that push for better standards and encryption on cell phones?

Amazed to see discussion stingrays and cell phones at the top of this reddit thread about Hong Kong. Seems like super mysterious tech that is probably abused. (https://www.reddit.com/r/IAmA/comments/cr6k2w/im_a_hong_konger_amidst_the_protests_here_ama/ex25y4p?utm_source=share&utm_medium=web2x)
bullshit :: Haskell -> DependentTypes -> Sunglasses -> Blockchain
The problem is that your opinion doesn't exist in the a vacuum. If you talk about reducing immigration while saying little to nothing about the horrible treatment of people at our borders, then naturally people are going to take offense because you're ranking the value of reduced immigration over the value of treating people humanely.

I've had many discussions with coworkers with me taking up both stances as a steel man and/or devil's advocate and not once have I felt uncomfortable about the discussion. You should be concerned about certain actions of very powerful people in high offices poisoning the well of discourse before you consider what you're trying to debate because context is everything. I find that is something frequently ignored when people discuss why they feel like they can't speak about certain things.
Ethics in journalism has fallen hard but was a huge chunk of my college roommates (polysci/journalism major) coursework. In the case of PV, they are 90% unethical disproven fraud and 10% at best real issues. Almost every major headline they produce is edited, photoshopped, staged, or aggravated whereas the opposite is true for major media outlets like the NYT, WaPo, and others. 105 might be partisan coverage or leaning but 90% is real information or at least not photoshopped evidence.
Agreed! A lot of material out there is like the "how to draw and owl" meme: https://imgur.com/gallery/RadSf - start with bandits and now do DDPG.

The goal is for this course to provide the foundations for whatever folks want to do in RL after. It starts with bandits but then covers things like TD, Sarsa, Dyna, etc. in the tabular setting. Then folks learn about more advanced topics like linear and non-linear function approximation (read - linear e.g. Tile Coding, non-linear e.g. neural nets/deep rl).

This very much follows the intro RL course taught by Martha/Adam/Rich at the U of A, and follows Rich's textbook really closely.
What's Twitter's policy on using fake accounts with stock picture avatars for openly astroturfing?
"So his friends at the U.S. Embassy got him a visa and got him to the States, where he works in IT."

This stuck out to me. Puerto Ricans are United States citizens and as such do not require any kind of visa to live and work in the states. There isn't even an embassy in Puerto Rico since it is part of the United States.

Makes me question the rest of the article.
You literally want to spend nearly half of your awake time with people you have no social interaction with? I'm not saying all topics are appropriate for the workplace... but there has to be some wiggle room.
It matters to me.
This was posted yesterday, but the article was hard-paywalled. We asked The Information if they would unlock it for HN readers, as they have been doing recently (e.g. https://news.ycombinator.com/item?id=20630974, https://news.ycombinator.com/item?id=20423483). They agreed, so now that HN readers can actually read the article, we rolled the clock back on this discussion.

Edit: sorry, I pasted in the wrong link so it didn't work right away. It should work now, meaning everyone who clicks on the title above should get to read the article.
I like tabs because it allows developers to configure their editors with whatever width they desire.
gwathk was talking about the incidence on July 14, not last Sunday.
Do we have accurate breathalyzers for alcohol? AFAIK, the manufacturers aggressively resist requirements to publish their source code or calibrations for testing. Also, AIUI, the devices require recalibration for accuracy, and it's not clear that police stations perform such maintenance.

No idea how rampant this is, every system will have flaws. But I question whether we can use the alcohol breathalyzer example without acknowledging there are significant unanswered questions w/r/t accuracy.