skysight-inc/HackerNews huggingface dataset:
Until living in city centers becomes more affordable, restricting vehicle use only creates problems.

Sure restricting vehicles is nice for people who live in the city, but people who can't afford to live in the city depend on personal vehicles to get around.

Public transportation doesn't solve it either, it creates a distinct inequality in mobility. Where those in the city can access things whenever they please by walking or bike, those who would depend on public transportation are at the mercy of the transportation system.

What the vehicle does is provides those outside the city equal freedom and flexibility as those inside who can walk or ride a bike to their destination.
They wont quit pestering me to upgrade. I've never uploaded a single file, but collaborators have shared folders with me. Apparently that means my drive is full and I need to upgrade...
Their page header "you saved XXX Euros last year from YYY orders with free priority shipping" was very effective.

Not because I was thinking "wow, I've saved so much money".

But because I was thinking "wow, I'm buying too much stuff".
> (Would not use OpenSSL again.)

Reminds me of someone using this gif to describe working with OpenSSL.

https://imgur.com/gallery/ikBZF82
I agree: I don't consider this news to be a duplicate, but a follow-up with the now unsealed court documents.
user agent hits Google random-string.googlevideo.com/videoplayback with referrer, ip, signature and several other parameters coding your individual user id, Google knows every single time who, why and when requested particular resource.
> twenty-two t's

...

> five y's

my favorite parts
The house only passed that bill because Trump called Paul Ryan personally and said he would veto the bipartisan budget that was on the table and passed by the Senate. This is no fiction, it is Trump's shutdown
Not advocating for this, but that's not too far off from how some C/C++ codebases work.
I live in Oslo. This article is exaggerating how far this process has come as much as its pictures exaggerate the amount of sun. Come summer and they'll both be around, but for now there's plenty of cars.
Exactly this, thank you for summarizing this so well! I've tried to clarify this exact point at Swift Forums, but I haven't seen even a clarifying answer from anyone in the core team on this point. Everyone says "it protects Swift", but looks like this protection comes at a cost of the overall ecosystem.
I don't really get it either and I'm about the same age as you. I feel like I don't get it to such an extreme that I actually am not sure I understand the article at all.

I like to take pictures of lots of things, I like to take pictures of lots of mundane things also, I like to take pictures with friends, of the various apartments I've had in messy states, candid photos of my loved ones just like the person in the article. I love taking photos of those things because I want to have aids in remembering what has happened and transpired. I want to remember fully what all my apartments used to look like and the things I used to own.

I want to remember my father in his old age, I want to remember obscure spots I went hiking once and forgot all about. I want to have these memories stored outside my volatile brain-memory. I don't post a single one of them on social media at all. I have zero compulsion to do so in any way, shape, or form!

I do enjoy pulling out a photo sometimes when a conversation comes up it might relate to or when I want to say "hey look at us a few years back ahaha!" but that is not very often. I can't understand the authors perspective.
Then where will Canadians deliver their EBay, Amazon and other US vendor packages?

Have you seen how much cheaper auto parts are in USA?
In a word, no.

There are some 30 million people living in the greater Tokyo metro area, depending on where you draw the line, of which 14 thousand have Shinkansen commuter passes:

https://www.reddit.com/r/japan/comments/6mfho3/of_the_14k_co...

That's 0.047%, a negligible drop in the bucket, and that's despite Tokyo having last-mile transit options infinitely better than California's.

Note for fairness: this does exclude the considerable numbers of salarymen who effectively maintain two homes, namely a tiny bachelor pad in Tokyo and a larger family household elsewhere, and "commute" by Shinkansen to return on the weekends. This is common enough that there's a Japanese term for it, 夫婦別居 fuufu bekkyo, literally "husband and wife living separately" but lacking the separation-before-divorce connotation that carries in the West.

However, California is notably lacking in affordable bachelor pads and stay-at-home moms financially able and psychologically willing to tolerate this.
Yes. As a matter of fact, I'm currently working on a large JS codebase that is a decade old. We switched over all the code to TypeScript in one go, and we are gradually fixing the type errors over time. VSCode does an excellent job of showing you type annotations and type errors inline, so the typing is very useful even if you have thousands of errors elsewhere in the project and never even run the type checker globally.

In fact, out of the dozen or so TS codebases I've worked on, I've rarely seen one completely free of type errors. And yet no team has ever doubted the value of the type system. It's a very pragmatic approach which works very well for many teams in my experience.
Wikipedia seems to agree with you:

https://en.wikipedia.org/wiki/Chargeback_fraud
So if I got it right you're still left with a sort of two-phase system, first receive-work & ack-receive, followed by apply-work & ack-apply. However the worker is free to start with the second phase, and the next transaction after the final ack, as soon as it feels like without further coordination.

This works because all conditional checks required by the combined work are performed identically by each worker.

Doesn't this scale as O(n^2) worst case? If the work touches all the variables, and each variable has a constraint, then each worker must remotely read from every other worker, no?

Also, since as far as I can see the workers need to keep old versions of the variables around (in case a remote worker recovering needs to satisfy a remote read), how are these garbage collected?

Quite possibly dumb questions, this isn't my area at all. Enjoyed the read in any case.
I've been there. You have to move on. You already know this; just do it.
I live in Oslo too. And I work in the center.

This article is a HUGE lie. Our city center not car free, not even almost.

I don't think Oslo is any more car free than it was 10 years ago. And roads that are made car free don't become traffic free. We still allow busses, trams, lorries and taxis on all the recently made "car-free" roads.

Oslo is about as car free as any other decent european city.
> I'm surprised so few people ride motorcycles

The noise of them is super anti-social.
I'm not sure I follow. The implication of your comment seems to be that extremist content is more conservative. On the whole I agree. Which is why the fact that YouTube steers people towards conservative content less than centrist or liberal content broadly contradicts the claim that YouTube is steering people to radical content.
`const testVar = {}` doesn't mean that the object is immutable, it means that testVar will never point to something else.
Field Work in the Tribal Office
Yeah, I actually by accident retained my account by not clicking the last of several ”are you sure” type buttons.

I had a yearly plan and had moved everything off to my own NAS in the last month before subscription renewal.

Was very surprised to see an additional year billed to my account!

Well annoying, and quite ugly.
I wrote my own tempermonkey userscript just for that occasion to hide already watched recommendations :/
Could have been titled "static typing vs. dynamic typing" but I guess TypeScript is more clickbaity.
Yup. He didn't address the biggest winner for me -- the ease of refactoring code you wrote 6+ months ago without breaking everything.
You say that like reality is a significant factor in many people's decisions.
I think you're mostly right, so please don't take this the wrong way, but I think you might be overstating your case to say that GP's take is a complete fabrication. There were veto threats involved that led directly to the shutdown, specifically pertaining to a stop-gap that would have run till February 8th.

https://www.cnbc.com/2018/12/26/trump-says-he-will-wait-to-g...
Hm - I was hoping to read a little bit about the algorithms behind YouTube's recommendation engine but instead got a few paragraphs informing me that YouTube was going to implement (even more) arbitrary censorship and claim it was in the spirit of "protecting" us.
Please don’t be that guy. Manybhandixaps are not visually obvious.
If you have a contract for a service, quite often simply stopping paying does not end the contract - it just builds up charges and past-due fees. If you stop paying your electricity bill, the utility doesn't cut you off immediately - they keep providing service (availability of electricity, even if you're not using any because you flipped the circuit breakers) and charges keep accruing.

Eventually services will be cut off, but contractually you're likely responsible for charges up to that point and the companies involved may end up selling that debt to collection agencies (often for pennies on the dollar).
there are times that "Episode 19" does in fact exist but even when I search for it, it finds NOTHING
Not to mention most companies in Japan will only pay for rail passes that are not Shinkansen, with limited exceptions. There are express trains that are not Shinkansen that can be used, so I imagine most commuters use non-Shinkansen everyday when compensated by their employers.
Tariffs hurt US consumers and doesn't help US companies compete globally. Its just not good policy.

Besides, Trump just wants to prop up Russian steel, not help the US.
Just the first two question's solutions are wrong. Did not bother reading past that. I assume whoever wrote this article either, a) wants to make sure other people fail these types of interviews, or b) is trying to hire people and wants anybody who google this to get these wrong.
Conversely, it is an explicit Fed policy to always have some non-trivial amount of inflation. In fact, generally speaking, inflation is purposefully created, and has to exist, in order for the Fed to control the money supply, because the tools available to them become largely ineffective once real rates drop below 0% for any significant stretch of time ("pushing on a string"). The only significant obstacle to this was the domestic, then international pegging of the dollar to gold reserves, the last vestiges of it being removed in the early 1970s (this of course being the high point of real wage growth in the US).

This is not per se a terrible thing (assuming some mythical scenario where wage growth and inflation are nearly balanced), but it certainly shifts the balance of power from inflation to the _rate_ of inflation, and therefore is easy to nickle and dime until your average worker is almost assuredly experiencing wage growth lower than inflation. Small changes here, small changes there, ones nearly impossible for your average person to have any control over or have any lever over, and largely imperceptable to most people, end up being de-facto theft through the back door.
The reference check is acting as a very strong signal here. I'd love to know how Artsy hire entry-level (ex. fresh graduate or career-change) engineers as well as engineers from corporate backgrounds, countries, or social groups where this sort of reference checking is prohibited.
> Consequently, in his point-based model, he assigned that particular feature of the language +0.1 points.

That's because his stupid chart is comparing a bunch of different things to TS instead of just comparing it to JS. In that case he's putting it up against TDD + code reviews, for reasons that I entirely do not understand. His numbers are so wildly incommensurate that they don't even make sense for any sort of informal water-cooler analysis.

[EDIT] if... if I'm reading his reasoning for that 0.1 score correctly, he'd still give it a -3.9 ROI if it caught 100-friggin-percent of bugs that would otherwise reach production, unaided by any other tools or practices. WTF.

[EDIT EDIT] for reference, that means he rates the overhead of noting one's types at 3x as bad as the benefit of magically catching 100% of bugs would be good. This is what I mean by these individual values being ZOMGWTF incommensurate.
> I think paid leave is just plain immoral. It is up to the parent to evaluate how much they care for their child vs foregone salaries.

This is delusional or dangerous thinking. Are you an ultra privileged & sheltered young man? You do realise that even if a parent chooses to work, they have to pay someone for childcare?
> Market st is already a no-go for private cars for many blocks.

This seems like a 'nobody goes there it's too busy' sort of argument. If it's a no-go for private cars then it should be almost empty apart from a few taxis and a bus or two? Which would make it not a no-go for private cars...
> Their concern is probably someone deleting somebody else's account

Yes, that's what I meant. If some stranger deleted my account, I don't think I would be angry enough to attempt to press criminal perjury charges against them.
It's pretty funny that we still talk about HSR in California as a hypothetical, over 10 years after it was approved. Obama wasn't even in office yet. There's not a single piece of it you can ride, anywhere, despite the $9 billion it got approved for from day 1. The first transcontinental railroad only took 6 years to build, in the mid 1800's.
"Hahahahahahahahahaha.

The city center in Oslo is not even close to being car free."

- someone who works in the center and has to cross multiple roads with cars to get to the office
I generally wasn't impressed by his work, but learning that Eric Elliot changed his citations to suit his false claims for his article on TDD [1] has made me lose any form of respect for him

[1] https://twitter.com/Hillelogram/status/1084991487702691840
Annoying sure. "Very" hard? No, not in the slightest and is disingenuous to title it that way. Sure their confirmation buttons were the primary action color, and they really drag the process but it was straight forward, just involved reading to make sure the button you were clicking was the right one. It's a bad process definitely, but not very hard or even moderately hard.
And also, "it protects Swift" in their context always means "it protects Apple's Swift" unfortunately
The alternative to 2PC is to have a compensating transaction log that always goes forward. The updates are recorded in the transaction log. Each update is then shipped to the workers where they see if the update applied to them, and commit the ones relevant in their own databases. There's no rollback. A logical "rollback" can be applied by issuing a compensating transaction to negate the previous effect. E.g. issuing a new transaction of $10 debit to compensate for the previous transaction of $10 credit.

Example, a worker database maintains the Inventory table. Another worker database maintains the Order table. When the frontend app creates an order, it records the transaction [ (decrement part in Inventory), (create new record in Order) ] in the compensating transaction log. Note that both updates are in one transaction.

When the Inventory worker receives the transaction, it applies the update relevant to its tables, i.e. the Inventory table, and ignore the Order update. The Order worker receives the same transaction and applies the relevant Order update while ignoring the Inventory update in the transaction.

In the case of the order is canceled, a compensating transaction of [ (increment part in Inventory), (mark record as canceled in Order) ] can be created in the transaction log. The workers can pick up the transaction and apply the update relevant to them.

Both worker databases are de-coupled and can work in their own pace. They can crash can come back up without affecting the other. At the end of day, things are reconciled and are consistent.

The downside to this scheme is the timeliness of the data. One system can be down or slow to apply the updates and lag behind the other one.
"The pain will mostly be felt by smaller Chinese producers, which lack international supply chains, triggering industry consolidation or forcing them to close, he added"

So it looks like capacity is being reduced.

Will capacity increase again? Probably. But your mention of cheating seems to be suggesting it's a cartel, I don't think that view is supported by the article, so have you got any other evidence?
If I had a nanodegree and was listing it on my resume or mentioning it in job interviews, I'd be pretty upset if someone came in and deleted all proof that I had completed it.
You have very little time to correctly don a mask. It’s a serious situation with a high risk of death.
I'm sorry I wrote the bit in parentheses as it meant you didn't respond to the important point, the part not in parentheses. The bit about his charmingness seemed like those justifications people give to arsehole behaviour - sociopaths are usually charming - not an effectively "balancing", redeeming one. Maybe you thought otherwise. And please allow me to make a point without being told to quote some part other than what I choose to. Thanks.
fast.ai courses are EXCELLENT. I've read/watched many interviews with both creators and have been even more impressed by their drive to bring deep learning to everyone, not just the AI specialists.
What about Typescript clicked for you that didn't click with the Closure Compiler?
What's the problem with electric wheelchairs?
Everytime Signal is brought up someone just has to chime in saying ‘we must abandanon Signal at all costs because metadata’. The metadata limitation is well known and if metadata interception is a problem for your threat model there are steps to obscure your identity or you should use a different tool. For the 99% of other cases where I just don’t want anyone snooping on my conversation with friends and family but don’t care that people know I’m obviously conversing with my friends and family Signal is great. Let’s not throw Signal out just because the metadata is still there.
I don't have much to add, other than I have had some good results with using the application "4k video downloader" to grab playlists on youtube. I'm not a fan of the generic name, but it does what it sets out to do and is fairly cheap. I'm sure everything can be done with youtube-dl, but I don't have a ton of experience with that.

I am able to get most of the videos downloaded and converted using that application. Sometimes I have to go and manually get a couple of videos that failed to download, but the app has served me well.
Ok, we'll de-dupe it.
Go 2 Error Values proposal, v2
A non-root user might not be a person, it might be a compromised php script.
Earth's oldest rock found on the Moon
By that same logic, every noble house in Europe would have gone extinct by now. It's not hard, especially when you're dealing with isolated communities, to keep a lot of genetic continuity for a long time.
He's not saying that TypeScript complains because he thinks TypeScript considers testVar immutable here. TypeScript will complain because it will infer the type of testVar is an object with no properties, and `testVar.asdf = "asdf";` is an attempt to write to a nonexistent property.
Bad debt lists are sold for pennies on the dollar to collection agencies, who can and do make a profit on then collecting a percentage of it.

Planet Money had a good podcast episode on it: https://www.npr.org/sections/money/2014/10/08/354591198/epis...
Completely agree! I'd love to hop on a bus and watch Netflix on my phone while someone else drives me downtown to work, but it's 3x as slow. It takes me about 25 minutes to drive myself, or 60-70 minutes by bus. That and a lot of the bus stops around me have zero shade from the sun or rain, or one tiny bench so that the majority of folks waiting have to stand. It feels like such an afterthought.

Also, I'd like to point out the economic disadvantage that comes from having to own a vehicle to drive to certain jobs. I've had to turn down jobs back in the day because I couldn't save up enough to purchase a vehicle and maintain it as well. You end up losing a lot of personal time waiting on buses. I remember having to get up at 5:00AM to catch a bus a mile away, and then getting home around 9:00PM too tired to do anything else but sleep and repeat.
A lot of people who don't care much for checking keys.
The explanation is a bit awkward because I'm trying to describe numerous situations. (pre-2.2 kernels, post-meldown kernels, in-between kernels, 32-bit builds, 64-bit builds, using PCID hardware, not using PCID hardware...) It looks like 7 of the 12 possibilities are valid, more or less.

Some segment registers are reloaded on a 64-bit system. That includes CS, DS, SS, and GS. The 32-bit systems must additionally reload ES. All segment registers are loaded for Linux 2.0 and older, via hardware task switching.

CR3 does not get written for system calls when running on a normal Linux from version 2.2 until the meltdown workaround hit.
Yeah, well except the complacent paupers part and dishonest part where very real considerations and decision making is casted as something shameful that makes you less capable. Likely serves to tilt the culture toward not speaking up about these openly.
I haven’t heard about conditional critical regions before - here’s a interesting set of slides for others: http://www-ist.massey.ac.nz/csnotes/355/lectures/monitors.pd... .

Seems very closely related to condition variables - except you specify the condition at the lock site rather than via a “trigger” before an unlock. I think Google’s internal Mutex class had a LockWhen(callback) which is a pleasure to work with. Definitely an awesome concept.
Back when tobacco tax were much higher in Ontario and Quebec, the Akwesasne reserve was a key smuggling area for bringing low tax US cigarettes into Canada. I remember seeing videos of Ski-doos hauling sleds stacked high with cartons of cigarettes.

Eventually Ontario and Quebec (and a few other provinces) dropped their tobacco taxes to remove the incentive to smuggle.[1]

[1]https://www.nytimes.com/1994/02/09/world/canada-cuts-cigaret...
You should post a show HN of this. It's really cool and I definitely will be using this in about a month. I wouldn't have found it if not for this comment.
The HSR might make jobs more viable for people living outside the bay area, but it will make things worse for people living within the bay area.

The last proposed plan would have the HSR running over 100 MPH less than 100 feet from my bedroom window.

Another negative is that this will accelerate gentrification in the newly expanded commute zones.
The article is correct in that it's important to understand that typing your code has a cost - it's not just all magical benefits. Personally (personally - not for everybody) the cost is that it inhibits my initial experimentation. I don't KNOW what types things should be while I'm faffing around researching and experimenting in a new domain.

I'm a huge fan of strongly-typed code, but I like to add the types much later, once all of the pieces are in place and are not in constant change, and mostly as a way to not have to write unit tests. If I type from the start I find I lock in to sub-optimal data structures and get "attached" to them. I already typed them, I don't want to break things!

Also, I live by the "What Would Rich Hickey Do?" school of thought... so when he mandates types in Clojure, I'll switch to TypeScript by default ;)
Do employers often depend on "nanodegrees" (first I've heard the term) such as Udacity?
Blaine. :)