skysight-inc/HackerNews huggingface dataset:
We have them in Poland and from my own childhood spent around Polish forest I remember the rule being - if it's a single boar, you have good chances trying to scare it away, but if it's a mother with the young......make for the nearest tree and climb like your life depended on it(because she will attack you).
One could say a lot of the same things about the USA or UK or Israel (especially Israel with their ongoing illegal occupation of Palestine).
It's blocked for me, I have had 2 free reads... Any tips? I'd actually like to read these, the previous 2 were a let down and I never finished them even.

I don't understand, I actually though medium was sort of free (as in beer), who is getting this money?
Depends on what you mean with Functional Programming. Do you think we will ever see: "Math - The Trillion Dollar Disaster"?

Because we really ought to go that way (more proofs like Idris/Agda).

> “Simplicity is a great virtue but it requires hard work to achieve it and education to
> appreciate it. And to make matters worse: complexity sells better.”
> ― Edsger Wybe Dijkstra
One could say many things, it does not mean any of them is correct.
There is a moment in a movie when they talk about it. Soyuz 7 is 6x15 meters and weights 20ton. Shuttle's cargo bay is 6x20 meters and has a capacity of 20 tons. Coincidence? They think not. And there is also a French guy in the Shuttle's crew who flew on Soyuz and is familiar with it.

However! One of the major plot points is how the station is rotating out of control, and that makes docking very, very difficult. In fact, none of the cosmonauts can do it in a simulator, so they have to go back to the main protagonist, who was decommissioned because he saw angels(?) during EVA.

Now imagine how challenging it would be to grab this rotating 20-ton object and put it into a cargo bay.
People say React is easy to optimize, but many of the React apps I use in practice have crummy 50-100 millisecond response times on basic operations like "click button" or "press key in text field". And a significant portion of the performance difference between beta MDN and old MDN was the ~half second the React code took to run in the beta.

I'm pretty sure front-end developers aren't writing slow code on purpose. The most reasonable explanation I can come up with is that React makes it easier to write reliable UI code but harder to reason about performance -- features like "by default, all of a component's descendants are recreated and diffed with the DOM on any state change" point strongly in this direction.
GitLab – A $1B business where all employees work remotely
Appreciate the reference, I'll read it as well.
I believe you can still import shortcuts from files in iOS 13, you just need to “Allow untrusted shortcuts” in the Settings app first.
"There are right wing fanatics in the "West" who openly are against LGBTQ, trolling them IRL and on social media. Some, calling for violence as well. Pushing those people to depression or cornering them in society, is as worse as hanging them."

Go find yourself some Iranian expat friends and ask them what it's really like to live under the rule of Mullahs, then come back and check if your moral relativism has taken a turn.
I dream of a world where instead of finding the most suitable tool or practice for the task at hand, developers follow the mantra of questioning those most suitable tools or practices without blindly adopting them
I got asked a similar question from a devops/sysadmin point of view in an interview - If you enter 'ssh somehostnamethatisupandyoucansshto' what happens? I like this sort of question since it has no right or wrong answer, is a good way to get a feel for the breadth and depth of someone's knowledge and also how good they are at getting it across to others.
Abstractions and design patterns aren’t what object oriented programming is about, you can change the paradigm and you will still have these (though you will maybe name them differently).
Good summary! There is a coreboot video that talks about exactly this process (although very brief) you've described, "coreboot: x86 system boot and initialization", it presents a step by step procedure with a descriptions of various steps (DRAM init, Northbridge/Southbridge init) necessary to bring the system to point where it can boot OS. https://www.youtube.com/watch?v=xc08SN6Dhz4

> Once that is loaded up, the firmware loads and activates the RAM and disables the Cache as RAM.

This is an interesting step.

Initialing the memory controller and activating RAM is a difficult process on modern hardware. When the computer first boots with a fresh RAM module, BIOS needs to "train the memory" to make it usable. "Training the memory" means commanding the DDR controller to perform a series of testing to find the suitable operating parameters (e.g. latency) for the RAM, which is required to overcome the hardware variation on the electrical level. It's a combination of heuristics and lookup-tables, which can partially explain the variance of compatibility of RAM and different motherboards. It's also why the computer may have 10 seconds of apparent "black screen of death" on boot if you just updated BIOS (or installed a set of fresh RAM), which can be scary ;-).

On many platforms there is no free and open source implementation and coreboot developers had to reverse-enginner Intel's blob.
> Even in JavaScript, race conditions are possible.

I guess this was a joke/typo? Otherwise, are you implying that JS has any protection against them? This would be the last language I would think of.
Ancient Plants Revive After Being Trapped in Ice for 400 Years
I removed my blog post from medium's distribution. So it should now be freely accessible!
https://blog.esciencecenter.nl/king-man-woman-king-9a7fd2935...
I am talking about a German company. I think in the 4th and 5th year the total work time wasted on waiting for the machine to finish something costs more than a new laptop.
Also that.
Most of the comments below you are correct in the scope of the last 10 years, but in the context of the last 50 are absurd.

For those curious about how and where the whole "Iran thing" started: A freely elected Iranian president decided to nationalise oil fields. This irked British Petroleum (Anglo-Iranian Oil Company at the time..) and the USA, so they initiated a coup to overthow the government [1], complete with CIA-paid Iranian mobsters to push the Shah regime.

Years after this imposed rule, the western-propped government was overthrown with an.. anti-western government.

If you look at Iran with the context of 15 - 20 years history, it's impossible to understand the government's rabid anti-west stance. If you zoom out a little bit more - you understand completely.

Finally - the Iranian people suffer incredibly under this regime. The Persian culture has over 5000 years of rich (non-islamic, incidentally..) history. I'd sincerely advise traveling to Iran if you'd like to understand geo-politics a little better.

[1]: https://en.wikipedia.org/wiki/1953_Iranian_coup_d%27%C3%A9ta...
[2]: https://en.wikipedia.org/wiki/Iranian_Revolution
It's a feature. Outlook helpfully removes "extra" line breaks from plain text email, and there is no way for the sender to prevent this. One can only assume the developers never communicate source code snippets using their own software.

https://support.microsoft.com/en-us/help/287816/line-breaks-...

Dear Microsoft: line breaks in my preformatted text are not "extra". I intend every single one. You may believe you know better than me, but you do not. Stop trying to nanny, you are very bad at it.
Shameless plug: I am building something that is still WIP and will have something similar to what you described.

Here's the link if you'd like to give it a try: https://frackxn.com
If during that same period programming as a whole generates more than a trillion dollar, is it an issue then? Or just an operation cost? :-)
There are lots in the Netherlands, around the Veluwe they are a bit of a plague animal, ploughing up gardens et cetera.

But groups of kids on a dropping are very noisy, they don't get to see any.
It's also worth noting that the EU disproportionately benefits from oil purchases from Iran relative to US so they have their own political self-interests factoring into their decision.

Oil is fungible. The EU only benefits disproportionately because the US refuses to do business with Iran.
Ganesha Theme Wedding Invitations – Ganesha Theme Cards
> In addition, Iran is also even more repressive than SA, because they are killing dissidents outside of their territory, unlike SA.

Have you not heard about Jamal Khashoggi? It was a big story a while back.

> It's pretty natural for the US to oppose those ideologically hostile to it.

Chicken or egg? That is, if the US hadn't engaged in regime change operations in Iran and hadn't supported Saddam in attacking Iran, would Iran be hostile towards the US?
First, I may or may not have privately held views about the morality(or lack thereof) of US foreign policy post WW2(hint: If you look at my comment history, you can probably figure it out given where I've stated that I live and some oblique comments pertaining to the subject). However, the above comment was specifically meant to not make a statement about the subject so as not to fan the flames any further, but only act as a refutation of the statement it was replying to based on historical facts rather than moral arguments.

Second, your statement is patently untrue. The genocides(against the Jewish people and countless others as well) perpetrated en masse by the Nazi state have nothing to do with self-interest or looking out for oneself. So no, this does not apply. If we were talking purely about their expansionist policies and invasions, then you may have had a point, but that's not what people usually mean when they, rightly, hold up the Nazi state as an example of criminally abhorrent and repulsive behavior.
Using a GitHub repo as a marketing platform for a paid service asking $159/month. Great work. Not.
I think it's more that researchers frequently overstate the likelihood of their work leading to a cure and seldom publish negative results.
Precisely this. The author probably won't even have a job in tech to begin with if those US services aren't banned.
EKS GPU Cluster from Zero to Hero
There were real arguments against layout tables back in the day (though the situation may have changed): https://stackoverflow.com/questions/83073/why-not-use-tables...

One thing for sure: layout tables are undeniably powerful, that's why people want to recreate them but without the penalties that come with real <table>.
If. There are two failure points here, both of which are so frequent that I can't even recall seeing an exception.

One, if your first page load tries to load a full page, instead of just some JS that bootstraps the process of loading of the rest of the page, which lets the first load finish before execution. Better yet, it should load the absolute minimum bit of JS site kernel. Then, the first load is likely to succeed on a slow/spotty connection, and we can skip to problem #2 below. This isn't being done correctly in most of the sites I visit for some reason; the first page is either attempted to be downloaded in full, or the "skeleton" of the UI is the piece that always loads the longest.

Two, loading UX. You have a loaded UI skeleton with boxes that need to be filled via further requests. Or, I've clicked on something and a subsection of the site needs to be refreshed. What happens is either nothing, except the SPA getting unresponsive, or I get the dreaded spinners everywhere. If the requests succeed, the spinners eventually disappear. If they don't, they don't. Contrast it to the pre-JavaScript style: if something needs reloading, my page is being rendered essentially top-to-bottom, complete bit of contents popping up as they're loaded; the site is usable in partial state, and if anything breaks, I get a clear error message.

Can this two problems be solved correctly in client-side rendered code? Yes. Can SPA be faster than full page loading? Yes. Is it usually? No, because web development is a culture. When a company decides "let's do SPA" or "let's do client-side rendering", they unfortunately inherit almost all the related dysfunction by default.
The key to understanding classes, IMHO is that you are grouping functionality to make the code more cohesive. The style of grouping is to group the functions based on the program state where these functions make sense.

Often people go the other way around and write entity relation diagrams. They write classes to encode the data that they want to work with and put the functions that interact with the data into those classes. This actually leads to code that isn't OO (again IMHO). It actually more closely resembles modular programming. You have areas where you say, "I'm dealing with that data here". All of your instance variables are essentially global to that module. Especially when the classes become large, this becomes mostly indistinguishable from imperative code with global variables.

Instead, consider the parameters that the methods on your class use. Imagine that you had no instance variables and that you had to pass all of the parameters to your functions. Now group all of the functions that use mostly the same parameters. That's a class. The instance variables represent some state of the program and the methods work on that state. Afterwards you can make diagrams to see how these objects interact with each other, but it usually doesn't make sense to do it before hand (because otherwise you end up with bags of data and functions that act on that data as if they were global variables).

Or, more concisely: An class is not a table in a DB and you shouldn't model it the same way ;-)
I think the trials take "forever" time. Not to mention that they also cost "forever" money. If the investors or regulators are not convinced by the researchers you may say the "breakthrough" is DOA
https://en.wikipedia.org/wiki/Inner-platform_effect
Public VPNs will get blocked more frequently than private VPNs.

I think a better solution is go setup a bunch of private VPS and setup VPN servers. Then share each of them with a few dozen people each.
You can get them for $12/year or less at lowendbox / lowendtalk
Hezbollah was created to expel the Israeli invasion in south Lebanon. [1]
One thing is for sure: Middle East politics and history has no single (or correct) perspective.

[1] https://en.wikipedia.org/wiki/Israeli%E2%80%93Lebanese_confl...
Animals that humans raise are only second in biomass volume to viruses on earth today. Our apetite for meat seems endless, and we can't seem to stop reproducing ourselves. It was only a matter of time until stuff like this would start happening. Also see, swine fever.
The Hoge Veluwe might be one of the few places where this can happen. And even then, the Hoge Veluwe is 55 sqkm. Worst case scenario you walk for a few hours to reach one of the edges. Just keep walking in the same direction.

Hoge Veluwe, one of the few things I miss from my home town. Such a great place to hang out as a kid.
I don't understand if those chips are designed to function like real neurons in the brain, or just designed to run artificial neural networks (ie matrix multiplication).

In the beginning it seems that they do mimick real neurons, but later the article says that it runs deep learning benchmarks. How can they run the benchmark, how did they train their chips ?
It's an article about GitLab and Sid, since the title doesn't make it clear.
It's not that difficult, you can use the reconfigure query to put all the shards on one server, then you can scale down the other servers.
As Shakespeare wrote, “A plague o' both your houses!” — Iran’s sins should not result in the USA being surprised by their reactions. Sanctions will affect the entire nation (isn’t that the point, to reduce war fighting capacity while giving the target a get rich quick scheme called “stop attacking our interests”?) and that necessarily makes the nation imposing the sanction unpopular with many of the population that has been sanctioned against (it’s an easy propaganda win to say “The Great Satan is responsible”).

A failure to foresee this would be an error even if the USA was populated entirely by literal saints and angels; as it stands, human history is littered with so many genocides that it’s more like two drunks telling each other to stop looking at their pint. (And yes, my country is just as bad, and yes it doesn’t know that either).
Going Multithread with Node.js
That I need help and need to seek treatment for adult ADHD. I know all of my tasks and my deadlines, they're on paper but avoidance always makes me do things on the last day.
It's only weak if you have access to a credit card and are able to pay for a VPS or VPN abroad. If you're trying to bypass it using only free(as in beer) tools, it's quite effective as clearly shown by the article.
Unless the tooling makes it trivial - which is still a long, long time away, if possible - I’m not sure there is a world where the increased cost of formal verification (mostly in terms of engineers who know what they’re doing) makes sense for things like line of business PHP/node.js websites, internal python apps, bash scripts, etc.
Or we could just say that any system of economic relations in order to finanace books and produce will cause distortion in litrature. Its a comparison to a nirvana that never existed and will never exists. And the difference he explains can be argued about in many different ways, and how it differs from the 60s can also be explained in a number of different ways.

Seems to me the authors was trying to find something that confirmed his priors and he did and then used that as confirmation for a whole larger theory about how he sees the world.
Now that Hezbollah covertly built five tunnels extending far into Israeli territory to attack Israeli civilians, you need to ask “who’s invading who?”
It was approaching all music in all formats, ever.
Do you think Iran is worse than the US when it comes to foreign involvement, world domination, destabilising regions, arming militias, assassinations on foreign soil, ballistic missile programmes, proxy wars, human rights violations such as torture, etc.?
And yet we praise the engineers and architects of mass digital surveillance under the guise of social media as the elite of the tech industry
I took a chemistry class back in 2012 or 2013 and used this a lot :) It's been around for longer than 2017, as the title may imply.
Current Scout leader here.

In the 80s we were sent out to knock on farmer's doors to ask for a place to sleep, and we did it just over the German border so we had to ask in a foreign language too. I actually want to reintroduce that (but farms have fewer places fit for a few sleeping bags).

The fact they are in groups makes it super safe anyway.
What is more absolute than one human one share?
You can't be serious? It's not like Tesla is a bakery where on the 6th month the bread sales pay off the one-time asset purchases (e.g oven and other equipment) and then it's all profit down the line. It takes time, especially on the scale Elon appears to be doing it.
I know that Iran is worse, but the West is no saint either, with the atrocities it does around the world. Your country/government is always good when you're not on its bad side. Same goes for mine as well.
> The weird thing is that nobody is out there taking credit for this success. Probably because all politics is now Brexit.

It would be amusing if there was an EU directive at the root of it.
Khashoggi was killed inside Saudi embassy, that is, Saudi territory. I'm not excusing it, but had he been warned, he could have just avoided going in. Iran tends to kill people outright on foreign soil.

e.g.

https://www.tellerreport.com/news/--intelligence-service-ira...

It's funny that people think that the mullahs have any grudges against the US becuase the US overthrew a 'socialist atheist'. They didn't like Mosaddegh either and in fact took part in his overthrow. Khomeini's grudge was purely ideological.
2007, Linus rant: https://lkml.org/lkml/2007/1/10/233

The right way to do it is to just not use O_DIRECT.

The whole notion of "direct IO" is totally braindamaged. Just say no.

This is your brain: O
This is your brain on O_DIRECT: .
Any questions?

I should have fought back harder. There really is no valid reason for EVER
using O_DIRECT. You need a buffer whatever IO you do, and it might as well
be the page cache. There are better ways to control the page cache than
play games and think that a page cache isn't necessary.

So don't use O_DIRECT. Use things like madvise() and posix_fadvise()
instead.

2019, how things are:

This is your brain: O
This is your brain on O_DIRECT: .
And... this is your brain when cached: ?!

The right way to do it is to just use O_DIRECT.
The whole notion of "kernel IO" is fsync and games. Just say no.
Also, what about that boterberg I used to hear about?
People vary.

Extended wear disposables were so great for me when I switched many years ago. Protein buildup meant that even with cleaning contacts were uncomfortable by the time I had to replace them.

On the other hand I’ve never had an issue with 2 week extended wear.
> At the moment the people doing the expelling are Iranians ... For whatever it's worth, Palestinians are not being expelled

How can you say something like this? It's even happening right now, for example these are today's news:

https://www.reuters.com/article/us-israel-palestinians-jerus...

Just imagine the scene:

"Bulldozers accompanied by hundreds of Israeli soldiers and police moved in to Sur Baher, a Palestinian village on the edge of East Jerusalem

Israeli forces cut through a wire section of the barrier in Sur Baher under cover of darkness early on Monday, and began clearing residents from the area.

Floodlights lit up the area as dozens of vehicles brought helmeted security forces into the village

“Since 2 a.m. they have been evacuating people from their homes by force and they have started planting explosives in the homes they want to destroy”
Technically not a mountain, since mountains start at >500m and Vaalserberg is only 322m high...

On the other hand, we do (technically) have mountains, as Saba has Mount Scenery (887m) and Sint Eustatius has The Quill ( 601m)...
It's not about taste, but about suffering, killing, moral, environmental, antibiotic resistance bacteria, mono culture crops, and many more reasons to eat plants that "look" like meats. Burgers have existed in plant form for a long time, it's first when the meat industry is loosing ground there suddenly is a problem. Plant milks have existed for thousands of years, and suddenly they are not allowed to be called that anymore. This is a lame attempt from a corporation that fails to take new times into account. Maybe some people want to limited the damage we have already done to our planet, but of course this is lame. If we all dropped animal product from our diet we could immensely help our earth and environment, we could drop our emissions by up to 22%.

http://www.bbc.com/future/story/20160926-what-would-happen-i...
https://www.weforum.org/agenda/2016/10/what-if-the-whole-wor...
https://blog.education.nationalgeographic.org/2016/10/31/wha...
https://www.theguardian.com/environment/2018/may/31/avoiding...