skysight-inc/HackerNews huggingface dataset:
https://lahzeakhar.com/%D8%AA%D9%88%D8%B1-%D9%82%D8%B4%D9%85
Some languages do specify Mixins, but even multiple inheritance is better than the oversold "composition pattern".

The composition pattern is just one of the many ways Java programmers figured out to write more code that does essentially nothing.

That's why Java programmers will be in demand forever, whereas more productive programmers will optimize themselves out of a job.
We couldn't have started the discussion of systematic censorship in a better way
It's hard to come up with one rule that works for everyone
It's normal to have a knee jerk response to censor something if what your looking at is terrible and you wouldn't want other people to see the bad thing, but it is also important that we as a race try to learn from our mistakes; and censorship straight to deletion is burning the evidence.
This may fall short of crazy talk around here: But maybe we need a human element in the curation of our digital libary, and a way for society as a whole to have input on this process, not just in removing the offending content; but also in keeping track of it too help people to be accountable for their actions.
Full Disclosure: I'm also a resident of christchurch, new zealand where the mosque shooting happened recently I saw our goverment block multiple websites via DNS, in a country where this kind pf censorship is otherwise unheard of: We honestly didn't know if the systems were in place for this kind of censorship. So my 2c is that if you are in a five-eyes nation, they almost certainly have the capacity to conduct this kind of attack.
> Do you use PayPal? It’s impossible to even login while you are abroad.

Are you sure? I'm in Eastern Europe right now and just logged in and sent money.
Nowadays you need to register with photo ID to get a mobile number, it seems like it's an anti-crime as well as anti- (let's say the magic T-word together...) terrorism move to require a phone number. Because if something goes wrong from the authorities' point of view, then they can always subpoena the mobile carrier to get your identity.

AFAIK it's even "illegal" to give a SIM card to a 3rd person with updating this information.
You can think of politics handing over a lot of money to only a few big companies for a research project. Its nothing more than that ;)
> Reddit is another example a company that has recently scrubbed itself of most controversial content,

I agree with you on most points however reddit takes no action against extremists and fringe groups proliferating on their platform until substantial pressure is applied from either advertisers or journalists. They go as far as shadowbanning users who bring up their lack of action to shine a light on their culpability, presumably to keep it off of mainstream journalists radar, thankfully it's now too late and enough good journalists have picked up the scent. Expect to see many great pieces about this in the near future.

Reddit also scrubs the profiles and post history of mass shooters who were indoctrinated on their platform, one example is Elliot Rodgers the incel and Santa Barbara shooter from several years ago, truly disgusting and frightening behavior that denies researchers and journalists from understanding the reach and impact of the spread of ideologies and hatred on these platforms.

Just last week in the wake of the Poway synagogue shooting the #1 post on /r/conspiracy was a holocaust denial post, https://pbs.twimg.com/media/D6HG_LMUUAEXYJy.png:large that received 2x reddit gold.
sure but lets be realistic, even japan's neutered self defense force could bully tunisia
From what I understand, the Left has gone more and more to the left throughout the years (the Right has stayed pretty much the same).

For this reason, even a center-right person can seem to be extremely far away to the right, to them.
Knative, but it's still immature, like most serverless frameworks.
Some languages don't support multiple inheritance so mixins aren't an option.
For an alternative slides maker / builder from markdown sources, see the slideshow (s9) tool [1]. Slides template packs include s6, reveal.js, shower,js, impress.js, and many more [2].
[1]: http://slideshow-s9.github.io
[2]: http://slideshow-templates.github.io

PS: Note - slideshow (s9) templates are just jekyll (liquid) templates and, thus, work out-of-the-box with github pages and friends.

PPS: What's jekyll :-)? It's the world's most popular (static) website compiler / builder.
From outside the US, it's hard to avoid the impression that some non-trivial percentage of high school supervisors and support staff are fundamentally irrational and unable to think and act like stable, responsible adults.

This is incredibly damaging for teens, because teens need to see adults modelling rational, fair, and effective boundaries, and dealing with problems in sane ways.

Powerful adults acting like capriciously ineffective self-indulgent authoritarians is almost the worst possible school environment.
I don't think this is meant as a replacement for long-distance transports (where trains and barges are already well established) but for the "last mile" where you need to transport only a few goods to varying destinations (but along an existing highway).
I, I, I, I, I, all I care, .... that's really the problem that we face.
> I don't think I'd make it in the current age.

Or any other country (besides Russia/USSR?). That doesn’t sound like an average childhood at all.
> Apparently we got a big chunk of our energy imported

Not strictly true. Right now we're importing just over 4% of our energy needs with 2.7% of that coming from the nuclear power loving French.

Source: https://www.gridwatch.templar.co.uk/
Ask HN: Minified version of GPT-2 model?
So, I have been trying to tinker with GPT-2 model on an arbitrary text. The model just seems to be pretty heavy for my machine. Any idea on how we can have minified version of this? I wonder if there are any releases for the model with simplified architecture? (I guess that doesn't make it GPT-2 either if it is minified...). I am trying to use 117M model.
Top male models in India to drool over in 2019
I was taught that there were 4 tenents, inheritance, encapsulation, polymorphism and abstraction.
Isn't it dependancy injection rather than composition? I'd think JS old time "inheritance" where methods are being copied from class to class is composition.
Eh, not really, there's a gulf of inventions involving better pantograph technology, efficient and compact hybrid power trains, sensors and self-driving capability (the trucks will need some form of self 'lane' keeping to stay connected to the power source) and so on that makes the two barely comparable other than at a very cosmetic level.
Hysterical memes of Avengers: Endgame you can relate to if you are a true fan
Reminds me of this:

https://www.theverge.com/2018/12/19/18140799/amazon-marketpl...
The point is that you lose not only in tight loops. (Tight loop allocating with good GC is actually well known good [1] case, it's deallocation that is PITA).

free() as well as malloc() and related have significantly complex algorithms behind them, unless one can simplify base memory management in certain ways - and those ways tend to also allow region-enabled GC to outperform them anyway.

[1] Allocating memory in many Garbage Collected systems can be down to one instruction, and if using per-thread heap, it can be atomic add without CAS
A decent IDE will help.

I have found this site incredibly good for Django's class based views (which I struggles to understand before using it).
https://ccbv.co.uk/

I wish there was a way to auto generate something like this for all inherited code.
Useful reading: https://eprint.iacr.org/2017/375.pdf

Plus.

Unless we find a new type of energy production that is more efficient, clean and powerful (in several orders of magnitude) than the existing ones, blockchain tech is absurd to develop.

Actually, any tech that requires more energy than an other, without a benefit that _obviously_ balances this loss (opportunity to use this energy for something more useful), is absurd to develop.

See, you technically could move this block of cement from point A to point B by pushing it with your feets. But it's more efficient to spend some effort to lift it on a platform with wheels, and then push the platform.

In this analogy platform+wheels is the existing intermediaries we have in businesses/workflows, and it works.

Blockchain is the equivalent of replacing the wheels and platform with a magic carpet. It works, only it requires an amount of energy (not to deplete other more urgent needs) + technical proficiency (not to screw up things) that's not available in our reach today.

You want to dis-intermediate the world with blockchain. Fine. Find a way to make it energy on-par with existing tech.
Google Search Support for 3D Models and AR
Cross-ISA Machine Instrumentation Using Fast/Scalable Dynamic Binary Translation [pdf]
Thirty years of good research

Historical aside: the first paper on GC is [1] which was written in 1963, by Minsky, who's now famous for AI research. So we have GC research for > 50 years.

[1] M. L. Minsky, A LISP Garbage Collector Algorithm Using Serial Secondary Storage. https://dspace.mit.edu/bitstream/handle/1721.1/6080/AIM-058....
good point on the "reluctant" FOSS developers. i see this a lot. big companies have teams that work on FOSS projects, but most of the people in those teams don't understand what the fuss is about. they come to FOSS events to promote their products and treat them no different than their proprietary ones.

the thing is, their leaders may actually understand FOSS and believe in it because they can see the benefits, but they don't understand that for the developers below them it is just another job.

i have argued that exact point in a company where i worked, telling the leaders that if they want to get the developers to make actual voluntary contributions and participate in the FOSS community the leaders need to set an example and actively motivate the developers to do so.

just assigning someone to work on a FOSS project is not enough to help that person to join the FOSS community. there are exceptions of course, where someone interacting with the community realizes that there is more to it and becomes drawn into it, but that's not the norm.
I hear about keto so often that it must be the best thing ever, however I have no idea what it even is and I got curious!

Do you have some links/articles which describe what it is and what positive/negative things can come out of it?
Stupid question but can’t amazon simply do a redirection?
If Bitcoin is so safe, why does it keep getting hacked?
I suffer from Tinnitus Distress and Ménière's.

From my limited experience with Psilocybin mushrooms, I believe that occasional low dosages might provide me with weeks or even months of symptom suppression and relief.

Any steps towards making possession less risky would be extremely welcome.
Scratch 3 extension for deploying Ethereum dApps
A SAAB cup holder would have been cool:

https://www.youtube.com/watch?v=l7ULaCgLp6A
Cool project. I'll stick with LaTeX and Beamer.
"Targeting" and "strategy" imply that there's some Grand Alt-Right Congress directing some organized movement. That doesn't need to exist: it's worth recalling that the people who follow the whole GamerGate thing are, themselves, generally interested in video games. It's not unexpected for overlap and recommendations to go both ways.
automatic acceleration feels really neutered in every car i've come across, being in control feels better than waiting for the car to kick in automatically.

then again i ride bikes too and prefer a more active driving experience
Well in theory someone could escalate their privileges to the exact same ones they already have! THAT'S TERRIBLE!
> Nowadays you need to register with photo ID to get a mobile number

I just got a new number last week with cash. I bought a pre-paid SIM in Amsterdam. They gave me bonus credit for giving my name and address, but if I didn't want the credit, I wouldn't have had to give them any identifying info at all.
I am yet to see a embedded system using Qt that is not upgradeable.

And lots of embedded systems are sold to consumers.

In what way was I "completely wrong"? It seems to me you were the one who was wrong and now are grasping at straws...
I'm an EE engineer now almost completely due to an obsession with Minecraft in my early teens. I used to hire myself out on multiplayer servers, designing and building various Redstone constructs. By the point I started studying electronics at A-Level, I'd already had almost 5 years of experience with Boolean logic, switches, latches, memory, timing circuits and the like. MC was a gateway drug for sure.
WireGuard VPN Windows pre-alpha for testing released
Flash I see everywhere, Tier not so much in Zürich. Is it new?

The German firms have models that have a brake that works mechanically on the wheels and this was the prerequisite by the city police after the lime accidents. Lime's scooters don't have a mechanical brake.
> The Cupid is so far about half-exposed—it is estimated that the work will require at least another year

But luckily:

> The same Cupid painting also features in A Lady Standing at a Virginal in the National Gallery in London.

So we could "mostly" know how the Cupid should look like in one year:

https://en.wikipedia.org/wiki/Lady_Standing_at_a_Virginal

"Mostly" because I don't know if this other painting was also later modified since it was painted.
GP is arguing Twitter posts are of wrong colour[0]. No matter what a Tweet contains, by itself it's not evidence of anything other than its own existence.

Imagine you open Twitter and see a video of someone committing a crime. That could very well be a real photo of a real event. But the event might not have been a crime. Or it may not have been real at all. Or the footage might be from something else entirely. Remember that time few years ago around an air crash investigation when people believed they've seen footage from the plane breaking up, only it turned out someone just posted a scene from LOST? Or recall these one or two heart-breaking pictures of people suffering that surface on Facebook every time there's some fighting going on, always labeled "evil side $X did this in city $C"? Those are always the same pictures of some one event that happened long time ago, but people read them as "evidence" of new atrocities.

Now obviously courts don't view social media posts in a binary way. Enough investigators and expert witnesses can work on a social media post until it has the colour of evidence.

--

[0] - https://ansuz.sooke.bc.ca/entry/23
Symbolics (and other systems like it) had typed memory with hw type checking (so you had safe memory by default), and had one important bit for efficient GC (one that is also utilized by Azul and Shenandoah) - forwarding pointers, in their case implemented "transparently" to actual code.

With forwarding pointer, you can copy data and update a reference in a way that is transparent to concurrently running code, as when it access the data again the CPU (or software implementation) will notice the data had been moved and follow the forwarding pointer to new location.

The rest of the support for GC was centered around structure of virtual memory, without anything very specific to GC in hw - we're talking about things like "memory is divided into X areas, inside each area the lower side is ephemeral... " etc. There was also some register use to keep track of GC status. I think some versions had MMU or page fault handler update the GC register data.
Whitewash the past or stand in outrage, are these the only two options? Some works can have a redemptive quality, no?
Your dictionary editor gets to do that. That narrow definition you quote did not come out of thin air. Or maybe it did.

I’ve never heard of ‘fascisti’ - that’s just Italian for “fascists”, not an Organization.

There is a lot more nuance to what the word came to mean that is impossible to capture in one or two paragraphs. The Wikipedia page is already a great improvement over that, recommend that as a source instead, collectively reviewed by hundreds of editors.
Yet in reality British colonialism was, being equal to other european countries colonialism (France, Spain, Portugal, Dutch, Belgium, Germany a bit), one of the greatest evils in mankind's history, probably the worst if you count all direct and indirect casualties. I would be properly ashamed of my ancestors if I was from one of the countries, yet people simply don't give a nanofraction of a fuck.

Much of the mess we are facing in last 20th century till now is due to that. Countries literally raped for centuries, all their wealth stolen. Generations raised as servants to powerful overlords. Promoting more submissive minorities into ruling classes. Afterwards some idiots in their tea club draw semi-random lines on the maps when creating new countries, creating perfect storm for future conflicts.

And what we have today? Colonialism with a modern face - continuous brain drain so that only poor uneducated or lazy stay in their home country. And of course resource drain never stopped, look at companies like Royal Dutch Shell or DeBeers and many, many others.
1% is significant if it trains long term behaviour. Losing 2.2% in 8 weeks is useless if it is unsustainable if you will fall for the processed food trap again and regain your weight.
I think the implication is that if that is what is going to happen, then that is capitalism solving the ethical problem for them - the government isn't running the mines and the companies will stop once they are no longer profitable.
Off topic, but let me throw a few bits here. It's certainly not a US tool, not like NATO is: when UN security council vetoed (Russia, China) bombing of Serbia and Montenegro in 1999, US/NATO went ahead anyway.

But when appropriate, US govt will pull out a UN card. When not, it will be simply disregarded.

So UN doesn't have any power in the real sense: Serbia has been relying on that power yet there's this now practically independent state of Kosovo created against UN rules. Not that I agree with the rules (hopefully we can amend them so there is a viable way for regions to split out of their parent countries, thus avoiding wars).
Coal is also used to manufacture steel ...
possible for the Rust compiler
to infer most/all lifetimes)

I'd be interested to learn why you think this is possible. As you point out yourself, by Rice's theorem, precise lifetimes are not statically decidable. Rust's lifetimes are essentially based on nesting (think well-balanced brackets) and tracked by enriching the standard Damas-Hindley-Milner approach with a notion of affin-ness which is a weakening of Girard's linearity. Circular data structures immediately violate affine-ness. What mechanism do you propose to get around this conundrum?
location sharing is brilliant, i've shared my location with every one of my close friends. if they want to hang out they just ask me if i'm free and instantly show up. of course i disable it on vacations and such but it's really pleasant to not have to coordinate carefully when i'm out and about in everyday life.also makes life amazingly simple in amusement parks to the point where i don't know why amusement parks don't give out location sharing devices to families - no setup, just go
YC China Has Launched
I just assume it is for data mining and advertising reasons. No reason to give into that, I just blacklist any service that depend on it. Or use a burner number if I really need it.
I can't see the supply or demand for steel making going away any time soon.
The writeup is interesting. As a security conscious developer (and with quite a lot of experience with deployments of multi-server systems) I wonder if there's a comprehensive, coherent guide in order to do The Right Thing security-wise in such scenarios. Multiple interacting servers, multiple developers, continuous delivery... I think that Google's BeyondCorp approach is rather different than this (and SSH would be publicly exposed) but has an inherent level of complexity which would be hard to cope with in a small org.
Kubernetes was evolved from Borg, which long predates docker, so no, it wasn't built around it. I have to wonder just how much Google knew they were going to squash docker from the time of that announcement, or if there's an even longer play going on here.
Railways are great for bulk transport of goods, but road trucking excels at smaller loads with finer-grained destination selection. The railway equivalent to what these trucks facilitate would be wagon-load freight, which is largely considered impractical in europe[0] and generally lost out to road trucking post war[1].

To explain why this isn't necessarily the case in america [0], it's important to understand that america didn't have a huge rebuilding effort post-war [1] that relocated industry away from the rail lines that had been servicing them for a hundred years. Post-war europe did have that rebuilding effort, and it saw a lot of medium industry spread out as the costs to remain in denser populated areas near rail hubs increase. Thus road networks became the feeders for these industries rather than proximity to rail freight depots and rail spurs. Maintaining wagon-load rail delivery in that environment became much more expensive as a result.
I was an 'MIS assistant' back in the 90s and RAM / video card theft was a real issue. A stick of RAM was a month's salary or more and easy to conceal. There were clever RAM swaps where someone took a 4MB stick from the work computer and substituted it for a 1MB from home.

Locked cases basically eliminated that loss.
>I bought a metal detector online

A fellow Tunisian here,

I tried several times to buy stuff online (listed with foreign currencies) using a regular credit card. But the transaction always fails.

Since we don't have paypal either, I'm interested, how do you purchase stuff online using a foreign currency?
Even if not a citizen, after only 5 years of living in Switzerland, you can hold a C-permit (which is like a green card), which means you have all rights of a Swiss with the only exception that you can't vote.
To me it is simply the truth that we as a population is affected by ads or propaganda. Every single person might tell themselves "those ads dont affect me", but that is obviously not the truth. It does not mean that I lose respect for anyone. We, as humans, are simply flawed. And our society should help us make the best of our flawed selves.
If you take care of your own interests in a more thoughtful way than "I want what works best and I want it now", Free Software looks much better. Short-term pragmatism can shoot you in the foot long-term. Lock-in and control are very real things.
Didn't see any mention of a control, so could just be down to the classes beforehand. Nevertheless 2%-3% weight loss without 'dieting' is surely good, it's at least additive to normal dieting, and perhaps even more effective in that it can help in overcoming craving.

Plus what rate of weight loss do you think is acceptable. Losing 25% of your bodyweight in a week may be the 'in thing', but it isn't necessarily healthy or sustainable.
Not having GC in no way improves understanding of architecture or gives better performance. Hordes of C/C++ programmers that don't understand memory management but swear by malloc()/free() are a good example of that. And it's not like C/C++ are only language without GC, they are just popular now.

Typical programmer is taught nothing about memory management, till maybe they learn bits and pieces (often by hearsay and cargo culting). It doesn't matter if we're talking manual or automatic. Without such understanding one cannot write performant code or make a good architecture.

Also - a good working definition of low-level language is language that makes you care about things irrelevant to your task...