skysight-inc/HackerNews huggingface dataset:
I read The Tiananmen Papers (https://en.wikipedia.org/wiki/The_Tiananmen_Papers) over 15 years ago and it seems like the fundamental political dynamics still haven't changed. Every time you think a liberal reformer (which in Chinese context is still quite conservative) will rise up the balance of power quickly shifts back to the old guard. Though perhaps the consolidation of power under Xi might lead to radical change years down the road.
And GDP increases. Beautiful.
Yes but a turn based game drastically reduces the action space compared to a real time game, something the DeepMind folks pointed out as a particularly interesting problem they wanted to tackle.
Of course there is a room for pragmatism when it comes to type system. Just lookup the computational complexity of HM inference. But to be useful, the restrictions need to be understood very well. Otherwise your implementation very probably ends up unsound.
Ranger may well be run to the highest standards...now. However it was not always the case [0].

I used to work for Western Mining Corp (early 90s), and am familiar with how 'patchy' adherence to environmental principles can be across a large organisation. I'm not implying malfeasance (or any other explicit cause).

A few other instances where Rio's failed to hold itself (or its subsidiaries) to the highest standards: Lassing, Austria [1]; Panguna, PNG [2].

[0] http://www.minesandcommunities.org/article.php?a=926

[1] http://www.industriall-union.org/archive/icem/austrian-mine-...

[2] https://www.smh.com.au/world/billiondollar-mess-a-major-disa...
I've noticed that in order to solve "what abstraction should I use here" it is often enough to solve "what should the name of the abstraction be".

I suppose this is because a name essentially sets up an analogy and if you've picked the correct analogy you can freely exchange everything you already know between the analogized domain and your problem domain.
Well It was detached but thanks Cris, I really have forgot, I saw this probably last year and the brain didn't want to let it in to protect 'him'self : D :D

Yes, the hope is that "it" is still scheduled to step down, just the limitation for a new mandate was removed...

...Sofar...so...we are worried, of course.

And praying
Batteries and pumped hydro can also deliver dispatchable and Australia is embracing and building both. The focus of today's markets is on flexibility and response time of supply, not on lumbering, inflexible baseload. Batteries are the most rapid and flexible, as the big battery constructed in South Australia has amply proved.
... the hell?

Forced updates rebooting critical systems, bricking devices, rampant spying that is difficult to impossible to disable.

How do you fit that with "win-win success story" and "Microsoft is nicer [...] than ever"?
a title recently thrown around a lot for positions that used to be called "data analyst"

Agreed. Maybe this is different in different markets but in London the vast majority of "data scientist" positions advertised are really PowerBI, Excel, etc. If there is any ML it is just to feed data into a black box model. If you were both smart and lucky you might be able to sneak R in by the backdoor and start doing actual data science, but it would be an uphill battle.
display_game() doesn't change any of these values.

(curr_frame_tick - prev_frame_tick) is the delta time of each loop. So this value is the time it took to do the previous loop.

It doesn't increase each timestep because prev_game_tick is recalculated each step.

Step1 (initial step):

- prev_frame_tick = 0

- curr_frame_tick = 0

- delta = 0

Step2:

- prev_frame_tick = 0

- curr_frame_tick = 200

- delta = 200

Step3:

- prev_frame_tick = 200

- curr_frame_tick = 356

- delta = 156

...
Because they have bills and changing jobs is hard.
This reminds me of Laravel their codebase sometimes feels like a maze even with a very decent IDE. Too many abstractions, and facades makes it even worse.

Edit: Baklava code is a good term for it

https://www.johndcook.com/blog/2009/07/27/baklav-code/
TSMC to tape out first 5nm chip design in 1H19
One of the first things you should do when you find a library that you are considering is look at the license. This applies to any language, and any type of software (commercial, open source, SaaS or not). Even for open source, not all open source licenses are compatible with each other (eg, you cannot use GPL in a MIT-licensed project).
One thing that threw me for a while on my 9370 was why I couldn’t get it to boot from a USB-C memory stick.

I didn’t realise at first, this was due to the difference in USB vs Thunderbolt.
It used to be true but in 2000 Selective Availability was disabled which made the civilian signal just as precise. This is basically why GPS took off around that time despite having been in operation for two decades at that point.
My own code written six months ago looks like someone else's code.
For English reviews the price is around 2$ or 3$, but for another language the price can go up, not by much but the price would be around 5$.

I used to do it to make beer money as a student a few years ago and I still hang in those "black market" forums and the price went lower few years a decent review in English was 5$.
I think a lot of HN comments, though not all, offered constructive criticism to these very early company's. Most of them weren't showing the product they have now so it's not a fair comparison.

Also there are startups where the product isn't aimed at a developer and it's quite understandable they might not see the value.

I'm not a millennial and still can't see the value in Airbnb, I value the services that a hotel provides and would never use their service. That blindsided me to the fact that younger people would think differently.
... and the best abstractions are exactly the exceptions to this rule.
I disagree. The comments here are always right.

https://news.ycombinator.com/item?id=8863
Mueller’s Real Target in the Roger Stone Indictment May Have Been His Devices
Pretty please!!
Uhh what the actual fk, the article reversed the meaning of FB emails.

FB encouraged devs to NOT fight the "friendly fraud". "Friendly fraud" is an industry term (just google it). It is when a customer who received goods then calls VISA and asks to refund their purchase.

Anyway. FB told devs "let parents get their money back, don't fight it". But this article says FB told devs "keep committing fraud", which would be just about the opposite.

Obviously, FB should have taken measures to prevent kids from using their parent cards without permission. But just because FB behaved badly, does not mean it's ok for revealnews.org to spread dirty lies.
IMHO the "casual" reader should be able to understand the body of one function in isolation ;
i.e, she shouldn't need to to dig through other functions (callers/callees).

This is exactly why all functions should be kept small, and thus it might be preferable to extract small functions.

Proper function naming is critical here, but it works : when was the last time you needed to look at printf's source code to understand your own code?

Same thing for max/fopen/malloc/atoi/scanf/sqrt ... if it works for standard library's functions, we can make it work for our own functions.
Only two thing have mattered since 1810 - economic growth and birth rates.
What makes you think that they are not prepared, they are getting multiple electric cars out this year like an suv in the coming months.
Over 9,000 Cisco RV320/RV325 routers are vulnerable to CVE-2019-1653
And metal too. I remember, it was on the news a couple of times when radioactive metallic pipes were stopped on the Russia-Ukraine border.

http://www.guillaume-herbaut.com/en/the-black-gold-of-cherno...
Every loop, prev_frame_tick is assigned the old value of curr_frame_tick before curr_frame_tick is updated. That means the value of their difference is the time in ticks it took for the last loop to execute. That difference is used to scale things like physics.

As an example, if we want to move something on screen at a constant rate in pixels per second, the number of pixels to move per update (ie frame) at 60 FPS is half as far as when updating at 30 FPS. The result is that the position at any time is the same regardless of how quickly the computer ran the simulation.
Exactly! And all the dynamic contextualization and dependencies of each `doIt` are gathered by the standard Clairvoyance module.

However, this is still incredibly verbose compared to the pinnacle of elegance discovered as early as the 1960s:

TRANSFORM THE CURRENT OBJECT INTO THE DESIRED OBJECT.

None of those modern wimp languages has reached that level of terseness yet.
Agree. That ball had started rolling before Ballmer's departure. You could see it in efforts like PyTools and NTVS, just for openers.
Perhaps not meeting peak energy demands and instituting "selective blackouts" for a few hours each day is the break we need from technology's intrusive reach
One example of a problem with variable frame rate physics simulation was Quake 3, which allowed you to make otherwise impossible jumps if your frame rate was 125fps. This value exploited the rounding errors in the jump height calculation to get extra jump height. Some custom maps even assumed you'd be running at 125fps and would be unplayable if your hardware couldn't keep up.

Demonstration and explanation here: https://www.youtube.com/watch?v=P13KmJBNn1c

OpenArena added an option for fixed framerate physics, and an option to disable the rounding.
Mapping global approaches to AI governance
> Make as many arguments you want to make about fukushima facing a natural disaster,

That's no excuse! In the end I don't care if the fission guys misestimated the natural disaster risk or whether they simply discarded it as "not in our threat model".

> and how the field has advanced since three-mile island and chernobyl,

But the old plants are still there!

And, tying it together with the first point: back then the fission guys promised it was safe and no catastrophe could happen.

Then the catastrophe happened.

Okay, but this time we have cool new technology, and we know so much more, and nothing bad can happen.

And then it happened.

Now we're just back in the cycle. Why should we believe you?

It's possible that it's now perfectly safe. But the fission guys lost all credibility when they again and again oversold what they really know, plan for and guarantee.
Facebork is the other one I've heard, and occasionally use. Problem is that neither really captures a sense of the rapacious amorality of which facebook is, I believe, being accused.
here is an idea: instead of sacrificing AI maybe we should sacrifice organized governments.
Nationalism and the Tech Community
> market economies will no longer be competitive and centralized ones will replace them

Assuming that the AI's have accurate and timely information. I suspect that one of the (many) reasons why modern economies can be dysfunctional is that the information feedback loop is often either inaccurate, incomplete or lagging badly. Solve that problem and you're gold.
Managerial roles does not transfer well from country to country. Culture issues arise frequently, not just when dealing with the people you manage, but also with upper management.

Only exception is VP, President, C-level positions. They usually transfer well since they speak the same language.
> Most of the Western world isn't on target despite having lower goals than China.

This isn’t really fair to say. The „Paris targets“ are just global temperature goals, the actual emission targets were nationally (i.e. individually) chosen afterwards and very different, as well as being defined as „emission reductions per unit of GDP“ for developing countries while the US‘ was absolute. As a result, China‘s emissions will peak somewhere around 2030 while the US has to reduce emissions dramatically till then.

Here‘s a visualization:
https://ourworldindata.org/grapher/annual-co-emissions-by-re...
Vs 2015 had a bug that will eat ALL your free ram (so it was using 30GB on my machine) and it was solved only in SP3 if I remember correctly.

Vs 2017 is currently broken when you reload a project because it shows multiple tabs for the same file:
https://developercommunity.visualstudio.com/content/problem/...

They already said that it was fixed in version .3 while it was not true. I still didn’t bother to check in version .4.

Several times I had my VS crashing for out of memory. Is it possible in 2019 to have a 32 bit IDE????

On the resharper side performances have been abysmal with the latest release and debugging unit tests has become a blood bath for a really nice bug that makes the unit tests unable to run in the test runner because the dll of your project is somehow lost sometimes. This bug was still not fixed last time that I checked.

Maybe you have been lucky or you never worked with very big projects, but VS is quite a shit show.
Yes, I remember thinking how good they looked. I didn't know they involved Audi. But it makes sense.
Adding it to dotnet core by default certainly helps I think. I didn't start learning it until recently, but when I did having it part of the tools I use every day was awesome.
I have an overriding design principle that helps find where that balance should be: "Attempt, within reason, to minimize the number of places a reader must look in order to understand the code on his or her screen. Minimizing the number of changes required to alter functionality is a secondary but lesser goal. Minimizing the number of characters the programmer must type to implement functionality is explicitly a non-goal."

For large C++ codebases at work, this leads to coding standards like:

- Don't introduce typedefs referencing other typedefs in public API, especially when the typedefs and the API that uses them are in different files. Having to look in more than half a dozen different files just to understand the signature of a function is actively reader-hostile.

We have a ton of conventions similar to this that help to make the code significantly more pleasant to read. It turns out that we still have quite a few useful abstractions, but they tend to be fairly large compared to most codebases I've worked with previously.
Facebook used the term in the same meaning as the rest of the industry, and in the same meaning that you explained. You can read the original doc linked in the article to confirm that.

The article's author lied. They told the readers that FB encouraged fraud, while in fact FB was actually encouraging devs not to fight the chargebacks.

Not that I'm defending FB. They knew the chargebacks were very frequent, so they should have addressed the root cause by adding more verifications before a card can be used. But they were definitely not telling devs to commit fraud.
I don't see your email, but I'm interested!
If you take a look at my earlier comment you'll notice I mentioned adding additional managers which directly train and supervise the workers.

China tends to have a much hire ratio of supervisors on the actual assembly room floor as opposed to in the office. In the west, many would consider it micromanaging.

Not sure if would have made a difference in your case, but just wanted to mention it.
I remember this, very cool. His team at Google is really at the forefront of computational photography (HDR+, Halide, lightfield photography). Kari Pulli from Nokia also did some very cool stuff on array cameras/computational photography at Light since then.

I think it would actually make sense to build an open source camera on Android. The android camera HAL and camera2 APIs are pretty good (though limited). You get all the UI stuff for free, and a large dev ecosystem. Halide is great for very fast processing. We used them both for the Ubuntu Touch camera app. Though if you really want to push what's possible, access the more low level features would need to be open source too.

Nokia (or HMD Global) are back in the camera phone game again btw - 5 lens android camera coming out this year according to rumours. I think this type of multi-sensor camera really is the way forward on mobile phones. You can keep the lenses thin with much larger sensor size when combined. I really wish they would open source at least some parts of it, but unlikely
Good article by nyt.
ITER had a lot of specific shipments they did from member nations where they basically put some concrete in a box with the full range of sensor hardware and sent it to the site, explicitly to make sure that they actually could move the components.
When are you all going to delete your Facebook accounts?

I got 9 friends to install Signal yesterday to help them away from WhatsApp. I'd love to see widespread campaign to encourage people to ditch these parasites we're addicted to.
We had a ton of endpoints without any form of abstractions. Need to do something on all endpoints? Have fun copy/pasting into 80 source files.
You could very much imagine that the cumulative cost in project disruption and inspections if a row of seats arrives damaged and then fails safety checks would easily exceed the cost of a Lamborghini.
Technical skills are the skills to make machines do whatever you want, they get no say in the matter. People skills are the skills to make people do whatever you want. You can see why many are reluctant to get involved in that.
Joe Armstrong does this in Programming Erlang: Software for a Concurrent World. Its extremely effective, and pulled me through each chapter by forcing me to continually look at how the solution could be improved.
I actually used to hate PayPal as an end user because, used relatively infrequently, they'd often block or delay transactions, causing me headaches and wasting my time. They felt like they were actively trying to hinder rather than help commerce. They do seem to have improved in the last couple of years though.
Year 2000. Ended in a support role (think SRE 20 years ago).

Whe had a shared email account for the whole support group.

We received about 100-150 emails daily from people and automates processes...

... And nobody was allowed to archive or move mails to folders.

Almost 20 years later I simply don't trust email for important stuff. If I have to email something important I want to talk with the person, too.
Hm never thought about reading commit history. I’ll try it.
Writing for 10 minutes a day is great and all, but if you're not the type of person that can easily switch tasks and be immediately ready to perform then it's not going to work out for you. Similarly, if you get stuck on a task and just want to keep going until you're done, you're going to have a hard time stopping. When I was doing NaNoWriMo I generally tried to go for the estimate of ~1337 words a day, but some days I had good ideas and kept going. Other days I didn't and spent a lot of time thinking about where to take the story and didn't write a lot. I don't believe at any time I spent less than 30 minutes working. And even then, it was always on my mind. Different people have different abilities, I don't believe that this is generally applicable and different people may have different minima/maxima for how much time they take to start up a task.
Its probably about the compensation. The entry-level employee in u.s. probably was much more expensive and would do less "motivated".

And these skinny guys from the technical focused highschools there, can spend 14 hours doing your tech stuff on the screen + 6.5 hours a day playing DOTA at a massive smoky "smoke-to-death" Lan-house or cyber cafe or whatever its called nowadays. 7 days a week, 28 days a month.

And when this one brakes you take the next one on the line. Too many people.
How does this compare to threadripper sha extensions?
Does it? https://blog.stephencleary.com/2013/11/there-is-no-thread.ht...
I found that moving away from a big Corp to a start up really increased what I produced. It varies from company to company but some move much faster than others. I managed to join a complete green field start up and had a great time implementing and delivering results at a much faster rate. This helped create a compounding effect on my career. I also found that once I get to a point where I pretty much had grasp of most things to the point I was "comfortable", was the time to move onto unknown territory and learn something new. This way I keep learning, when I stop is when it gets boring (same day in and out).
That's the problem with energy policy and most large industries these days. There's enough money in the market, so you can find a supporting study for every argument you want to make.
I wonder what are the % of damage from Online Shopping. Online Retailing is basically moving the cost of High Rentals to shipping / delivery.
There is a reason why the prices are different, warranty being one. Are you suggesting the market in cars is inefficient?
World capacity for the production of new solar panels is significantly under-used right now. There are no raw material limits in the short-medium term[1]. The rate of expansion of solar production is limited more by demand than supply at the moment.

Some countries have dense populations and poor availability of sunny land, like Belgium and the Netherlands. The US has better sun and lower population density. There is some resistance to retiring coal from people who make money from coal. But generally speaking solar has always had a favorable public image apart from the high costs -- and the high costs are now turning into moderate and even low costs.

Since large cost reductions have been so very recent, it's just taking a while for everyone to catch up. Just this month Florida Power and Light surprisingly announced plans to build more solar power than any other regulated utility in the world, for example:

https://www.greentechmedia.com/articles/read/florida-power-a...

Their first large-scale solar project was a 25 megawatt facility built in 2009. Last year and this year they're adding solar capacity of about 300 MW per year. With the "30 by 30" announcement they apparently want to accelerate that to beyond 1000 MW per year.

[1] In the long term, manufacturers will have to stop using conductive silver pastes to make cell contacts and switch to more abundant base metals like copper, tin, nickel, or aluminum. Multiple companies have already used copper metallization instead of silver at an industrial scale so I'm reasonably confident that this eventually-necessary transition will not be too difficult.
Another alternative: you make the money yourself like Bill Gates did and do whatever you want instead of writing comments on HN.
There's alot less jobs in ee than there is in programming/IT. Half of the ee's I know went into programming due to not finding jobs in what they wanted.
If the ai plays equally well with restricted viewport why were the majority of the games played with nonrestrictive? It seems reasonable to assume that deep mind will eventually best humans at sc2 but seems like Google wanted a nice headline and rushed it imo.
Drop back a few decades and Pepys’ Diary is another fine slice of life of urban England. I’m finishing a public domain production of the 1893 edition[1] for Standard Ebooks[2] at the moment but in the meantime they’re all online and cross referenced at https://www.pepysdiary.com/ ; it’s fun to dive in and read an entry or two.

[1] https://github.com/robinwhittleton/samuel-pepys_the-diary-of...

[2] https://standardebooks.org/
Use GPG if you're concerned about authenticity. It's the only way. What you describe is not a problem with Fastmail, it's a problem with basic communication without cryptography.

The problem is if any email service did this you'd start trusting the "from" field and that is wrong. Do not trust the from field. It's as simple as that.