skysight-inc/HackerNews huggingface dataset:
Java can get into some weird cases with generics, super classes, and overriding. Joshua Bloc has some interesting ones in the fantastic (and horrific!) book, "Java Puzzlers: Traps, Pitfalls, and Corner Cases".

For what it's worth, I think python's case is fairly simple and easy to remember.

Python objects can define two different methods for operator * : __mul__(self, b) and __rmul__(self, b). When you see A * B, try A.__mul__(B) if A has a __mul__. If the call throws NotImplemented (usually due to B's type) of if A did not hava a __mul__ call B.__rmul__().

I think that's actually much simpler that relying on types for dispatch since operators tend to be more "flexible" in their operand types than normal functions.
When the orders come from a human then there is someone who is ultimatly responsible, someone to put through the courts, someone to throw in jail.

When the orders come from a computer. Will any of that happen, will there be someone responsible?
“Forge of Empires” Masters the Leap from Flash to HTML5 Using Haxe
Cross-browser Flexbox mixins (MDN)
This is not technical, but I always push for monthly performance reviews, with clear goals, and a weekly dedicated time to check in with a manager once a month to make sure I am spending my time on the right things. It doesn't always happen, but my experience has been the harder it is to get these things the less likely I will feel productive.
From what I have seen, I think many dual-core i5 CPUs for notebooks support hyperthreading.
I should add this to my Stylish profile for GitHub.

If you combine this with Original GitHub Navigation Bar Color [0] you can have an original-ish GitHub theme.

[0]: https://chrome.google.com/webstore/detail/original-github-na...
Google’s Masterplan for Healthcare
The US has unquestionably played an outsized role in shaping international drug policy over the last 100 years. I'm also pretty sure that the 'war on drugs' is a uniquely American phrase, and if it isn't it was certainly coined and popularised there.
Wifi only won't help because other peoples phones have precisely geotagged the location of wifi hotspots, and your phone is likely reporting wifi signal strength to the mothership.
Why would you lose your copyright in that case? Person B loses their (non-existent) copyright to the song. This would only fail if it'd be literally "all copyright on song X gets wiped, without looking at who owns it", which as you pointed out is obviously a non-workable interpretation of the proposal.
Where do you stop short? I'm conflicted. I sometimes look at Docker and am like "this is great", but I also sometimes look at a plethora of Dockerfiles and I'm like... what are we doing wrong? Do you, for instance, Dockerize small Python tools (or similar)? How well does this work?

I remember one project where we had tons of small Pipenv projects and one pain was that a few were Python 3.5 and a few others were Python 3.6. I guess Dockerizing these would have mitigated the pain but honestly I am a complete Docker n00b and wouldn't know how to go about setting this up in a way that wouldn't cause more pain and another layer of abstraction.

Any tips? Reference material, etc?
AFAIK, the biggest problem with GHB is its synergy with alcohol. Most GHB related deaths also involve alcohol.

GHB therapeutic index (8) is just slightly lower than alcohol (10). However, being an illegal substance, you don't really know how potent your stuff is. Ketamine is rather high (38).

And BTW, THC (cannabis) as a therapeutic index over 9000. LSD and psylocibin (magic mushrooms) are at 1000, which also makes them virtually impossible to overdose.
Astronomers watch the aftermath of a star ripped apart by a huge black hole
It's really amazing to see Redux, and then go and use the Elm architecture.

The Elm architecture is so simple you could write the API on a business card, and it fundamentally does the same thing, and solves the same problem. There's almost no accidental complexity, only essential complexity.

Redux on the other hand feels like there's so much accidental complexity, but it's not even obvious, it's masquerading as essential complexity.
That's a very cynical view of government and of society in general. You basically don't trust other people to do good just for good's sake. I'm going to assume that this view is informed by your own experiences, but your personal experience might not hold up everywhere. I'm originally from the Netherlands as well, and while the government does fuck up, life is still better with a government than without, so in the balance it would seem to me that government is a force for good.
Sure, lots of people actually are in favor of the sort of illegal immigration where if people seek asylum they are not prosecuted for the misdemeanor border crossing at least until their asylum application is rejected (and maybe they just aren't prosecuted).

But why would the "greatest" country in the world use any nuance when dealing with vulnerable people, right, nuance is for rich people and their powerful lawyers, not for people fleeing death.

I dare you to be specific when you make your arguments about law and order. Own the specifics. Proper procedure is a very important part of seeking asylum and all that. Don't hide behind words like "commit crimes" and "violated the law", actually say "misdemeanor border crossing".
The article says that his former boss, who left the company, neglected to file the paperwork on extending his contract. There was intent to extend, and everyone thought that’s what happened, except for the fact that it didn’t actually happen.
the 'interesting support thread' is more than 8 years old...
This is very disturbing. From what I’ve read, VW isn’t the kind of company that leaves room for improvisation. So this was probably some sort of process around this decision. How did they end up doing THAT?
> If there was more than one pharmacist available it wouldn't have killed him/her to go and take a look at the wife in the car.

Depending on the jurisdiction, pharmacists aren't allowed to prescribe stuff or treat people on the spot. That's business of a (licensed) doctor.
And you should also consider contributing!

It’s Typescript on client and server.

https://github.com/Chocobozzz/PeerTube
I agree with the first sentence but not the second.

I think a lot of employees are just not taking a step back to look at the sum of the parts they are helping to build, or maybe they have optimism/trust in their leaders to not fuck everyone over, and others might just draw their line further down the sand (e.g. no Pentagon contracts).

I imagine a brave few are also working to change it for the better from within. I'd definitely choose to work at Apple instead though, Google seems fundamentally creepy these days.
Doesn't a US employer have their employees social security number, which would fulfill exactly this role if people cared to look at it?
Linting and code style guidelines. Easy to introduce, but makes a big positive difference.
I connect to the mainframe and then execute variables on the system. This gives me access to data I would otherwise not have.
Isn’t that a matter of public record in most places?
See also Chesterton’s fence. You don’t want to change something until you understand why it’s there in the first place.

https://abovethelaw.com/2014/01/the-fallacy-of-chestertons-f...
How to Optimize Your Website Images for SEO?
Printed cotton sarees
A six-yard elegance is undoubtedly the most beautiful garment a woman can ever own. Saree has been significantly used in India as traditional apparel but isn’t it a problem draping and carrying a sari in summers if it is those of the heavy embroidered ones on a daily basis? Cotton defines summers in the best way possible, it entwines with your body and doesn’t even cling and let you breathe. Here Tjori brings to you the hand-loomed and printed cotton sarees which are designed in beautiful art forms. Explore the widest range of alluring printed cotton sarees in different designs and patterns. Start shopping now! https://www.tjori.com/sarees/printed-cotton-sarees/
Update the codebase to Python 3.6.
Is the feds story real or the result of stimulants abuse?
Smart Legal Contracts on the IBM Blockchain Platform – By Clause
> I think at the very least it would be fair to call that misleading

You imply intent. There was no intent to deceive.
CodeClimate is a big one for me. Having some static analysis to track the team's progress over time is huge. It's nice to have a neutral third party robot doing the complaining about poor code.

Fortunately, CI/CD seems to be pretty prevalent these days. But if it's not in place, that's always first.
Go101 – book
China and the US are racing to develop AI weapons
Can you give an example of how you’d do this?
braking: the act of stopping motion, generally by means of friction against a moving surface

breaking: the act of rendering something unusable by means of destruction (see 'sabotage' when done wilfully)

The pronunciation of 'braking' and 'breaking' is /ˈbɹeɪkɪŋ/, they are homophones ('same-sounds').

See also: https://writingexplained.org/break-vs-brake-difference
1. Every now and then we run into Paywall. Give everyone employee debit card so that they can buy stuff which helps their productivity.

2. CI using Drone.io

3. Add trello

4. Everyone gets their own AWS account. It makes it trivial for them to experiment with new ideas from their home or at office without begging anyone for credentials.

You start by empowering your employees.

Now, we consult startups which work differently so you might not have capacity to make these changes.
Running the model is much easier than training it. On power-constrained environments, DSPs can do it.
I doubt that's correct legal analysis. This worker is not an employee of the company, and so cannot assert rights afforded employees. There might exist special termination provisions in the contract, but that's speculation.
Lately I've been adding prettier.io to all the new projects I join. Great helping tool :)
Blender were asked to sign a monetization agreement.

https://torrentfreak.com/youtubes-piracy-filter-blocks-mit-c...

"Update 2: Blender’s Ton Roosendaal notes that YouTube wants the organization to sign a monetization agreement."
Nice. I suppose the code is the singing bush then. And the end user is the invisible swordsman [1].

[1] https://www.youtube.com/watch?v=e9vPvHO8Kp4
In that vein, I invariably have one massive commit on every project to remove trailing whitespace first. That way when my well-behaved editor removes them with each commit, it's not littering up the diff.
Wonder why, because of poor SMP scalability and coarse locking?

I've encountered some cases where SMT made performance worse such as with very optimized HPC libs but in general SMT can really help. Compiling projects got a nice boost when enabling HT on Intel's recent arch for example (all of this on Linux though, last time I checked OpenBSD its SMP perf was abysmal)
Don't panic, I'm sure Peter Theil can pick up the slack if Microsoft cancel.
This Wikipedia article almost reads as an onion spoof. He was treated for lead poisoning at least twice. He contracted polio and invented a series of ropes and pullies to assist him and his family to get him out of bed which ended up strangling him to death. It seems that GM(who he worked for)is largely responsible for inventing what are arguably the worst compounds for the planet other than the nuclear bomb. Absolutely astonishing read.
My parents moved house when I was around 11. I suspect as a result of the recent house-purchase my parents basically bought one christmas present for my two sisters and myself: A 48k ZX Spectrum home computer.

The computer came with ~10 casette-tapes, a casette-player for loading them, and the computer itself. Unfortunately the casette-player we received in our bundle was broken. Which meant that we couldn't load any games.

So I read the manual instead, and experimented with programming in BASIC. A week later, or so, (all the shops being closed around Christmas time in the UK back then), we had a working system. My sisters played games, and while I did too I was hooked on programming.

A few more details here:

https://blog.steve.fi/how_i_started_programming.html
FeatureFlags for sure. They don’t force anyone to change their day to day but allow them to adopt better practices at their own speed.
Company funded Friday lunch.
Ha, so I'm actually taking delivery of a brand new Polo this Friday, which was delayed 4 weeks in production because they had to rectify the seatbelt issue. I'll be very curious to see how it was fixed on my particular car.
The mess we're in (Joe Armstrong, 2014)
No, I think both governments and corporations can be a good thing - if they behave ethically and the people all the way from the top to the ones carrying out policies - are accountable for their actions.

Example: If a border-patrol officer chose to follow orders and take an infant from her mother - because it's policy, he should be liable to criminal prosecution for breaking domestic and international law. Like any soldier in the field is. If a soldier choose to follow an illegal order and commit crimes against humanity, he risk prosecution. Police officers, migration officers, judges, prosecutors - they don't. And because of that, they do a lot of harm. Again, not all of the time, and not to everyone. But too often, and too much.
How it works?
STAPI uses publicly available sources, mainly Memory Alpha, to get its data.
Data is cleansed, standardized and put into relational model.
JS WTF turned into a CPU instruction
Would making it illegal have prevented this?
Or use Piknik https://github.com/jedisct1/piknik
Yes, as time goes by it seems as though sense is starting to sink in, though it is still quite close. A year ago I wouldn't have been confident at all.

[0] https://whatukthinks.org/eu/questions/if-there-was-a-referen...

[1] https://yougov.co.uk/news/2018/03/29/where-britain-stands-br...
JavaScript library for relational operations on GPU
Entering the country illegally is a misdemeanor. Is it reasonable to separate children for a few hours to process the adults? Sure. This is what border control does before handing people over to ICE.

But there are 2000 kids that ICE has separated for longer than a week (even months) and even placed in social care.

You wouldn't do that if one was caught speeding, but for illegal crossings it's ok?
> Process and code fixes are _much_ easier once you have good rapport with the team.

And one doesn't get that by walking into a place expecting to make sweeping changes.

What's worse is job hoppers were asked so this means people are going into a shop, making these changes, and leaving shortly after. The hell?
Uncovering the Real Cartel in Bitcoin
I imagine this could be developed to observe e.g. a budding powerlifter's form, pointing out any obvious errors and putting hordes of PTs out of work ;)
What I heard is that, by far, the biggest cost is validating the final hardware. Intel and AMD have very large experience and test tools so the incremental cost for a new CPU is not huge, but it is a big barrier for a new competitor in the x86 space (but then again, patents are probably an even bigger barrier).

Newer/Simpler architectures should be easier to validate.
So needing some repairs after over 200,000 kilometers is considered unreliable these days?
If you just arrived at a company why are you pushing to change anything. They obviously already have a working process and you should be careful to change anything that works, especially when you may not yet know all of the more hidden details.
Do you have a list of companies you consult for by any chance?
Towards open governance for Matrix.org
I thought NixOS solves the full reproducibility problem really well already.

https://nixos.org
And 1 guy, Thomas Midgeley Jr., played a major role in both the use of leaded gasoline and in the development of some of the first chlorofluorocarbons which were later found to be eating the ozone layer.

Late in life he was disabled by polio. After inventing a system of ropes and pulleys to assist his aides in lifting him from his bed, he became entangled in it and died of strangulation.

He's almost a real-world version of Pratchett's Discworld inventor Bloody Stupid Johnson.
I recently read David Nutt's Drugs Without the Hot Air, which turned out to be very timely. A fantastic book that really sets out the case for evidence-based classification (and legalisation) of drugs, based on the approach of minimising harm (not minimising drug-use).
Yeah it's probably not that big of a deal, ideally you'd be able to choose to have it turned off when booking the room.
It war rare to find places with automated build. My first priority was always to get humans out of the equation because as a contractor you need to trust the pipeline and you need to be sure whether your code hit production or not since it’s critical in issue management.
Afaik, there is more violence too. Yes, often caused by untreated mental health problems. Also more suicides. Combat situation tends to make mental health problems bigger in pretty much any aspect. It is not exactly easy or healthy situation to be in.

Veterans also face negative stereotypes which does not help anything either. Pro veteran groups tend to talk about all those openly, as they want to get more help to veterans before it all happens.
Mainframe? Sounds like back in the 80s or 90s :)
I don't have a whole lot to support my ideas here, other than a collection of my own ideas etc.

When your whole country is about 8.5 million people it must be difficult to ever go anywhere and be a complete stranger.

The USA seems to be such a huge land, both geographically and demographically, that I think it lends itself to a variety of groups exploiting others. I don't think The USA is a homogeneous whole.

Or, if there were a scale on which various countries could be placed to describe homogeneity The USA would be at the far end of one extreme of that scale.

I think that's why The USA seems to be such a hodgepodge of poor planning and action.
I did this at my current / new assignment, turned out eslint was running but it was skipping tests, and it ran over the dist folder (e.g. minified code), annnd it didn't run with the --cache flag. Brought the runtime down from ??? (didn't wait for it to finish) to 30s to 2-3s, and it made thousands of minor inconsistency fixes. It was appreciated, thankfully, :p.
As opposed to the country leading the charge with a president that "didn't enhale": https://www.google.com.au/amp/amp.timeinc.net/time/4711887/b...
CBS Channel Activation on Roku
To activate CBS channel on your streaming device read the blog: https://streamingdevicehelp.weebly.com/blog/cbs-all-access-on-roku-devices-in-canada
There may be lessons to learn, but profitability in state supported railways-metro (publicly owned or privately operated but government subsidized) is almost impossible. Singapore is a tiny place and property prices are astronomical. Singapore Metro earns money from property rentals (some state coercion helps too). This does not work for most cities in the world.
Spark (major NZ telecom) to employees: Agile or leave
Why bankers are migrating from blue chips to blockchain
My understanding is that it doesn't make its way into fruit, but it probably does into the green and woody tissues of the plant. So vegetables grown in it are a concern.
Government is only inevitable, only if you believe in these sets of prerequisites for constructing a government. These all can be managed without government should the people want it. It's called anarchy, not the neo-modern destructive type, but the real ideology actually sets this out very well, that government is not needed. It is to everyone's own opinion whether or not you need government and what each of us want from government. But to outright state that we can't exist without it, I think is wrong.
Thank you for contacting the mods. I am entirely unsurprised that the response to my post was to try and suppress it rather than post any replies or arguments against it.

The sort of people who support these diversity movements always seem to be the same sort of people who immediately jump for censorship and other communist-style tactics. If the way to figure out who runs society is just to look at who you aren't allowed to criticise, then we surely live in a matriarchy.
He elaborates a bit in the comments - it seems he's entitled to the money, but couldn't be bothered: "So I had to do an appeal, and go through a long process that I did not care much to go through. I had a mind in quitting after all."

Sounds very strange that he wouldn't care to do a bit of paperwork, which he from the sounds of it could probably well justify to do on company time, with the manager and director being supportive. Or get the agency to do it for him, and bill them for the trouble. Or whatever. Something smells a bit fishy about that part of the story.
Agreed. I have a theory that the reason contractors want to change everything when they arrive is so that they have infinite work.

I also always see contractors wanting to start self-initiated projects from scratch rather than working in the codebase, which is of course easier to produce a visible result in.
Uplifting Entrepreneur Quotes to Ignite Your Drive
> VW isn’t the kind of company that leaves room for improvisation

I would have thought so, but the last few years have sewn the seeds of doubt in my mind. I would have always been a Volkswagen driver but I'd think twice now before splurging on anything from the last few years.
Electron sandwich doubles thermoelectric performance
Microsoft is pretty open compared to competitors. It has long history of providing Windows source code to universities (I recall Win2000). It also provides debug symbols for its libraries.

Try to get source code for Apple, Amazon or Google products...
I'm unsure how comparing sales of hardware vs a few years sales of a console 30 years ago is of any use whatsoever!
Google teams with the CIJ for free workshops on investigative journalism
There was an defect, they tried to fix it, fix was approved by a regulatory body, it didn't work, so they recalled the cars.

Hanlon's razor: what is the story here that puts it on the front page?
Lots of Canadian tech companies hiring folks :)
Come work with me at Hubba and take on Alibaba.
@kentf on twitter.
Blockchain browser Brave starts opt-in testing of on-device ad targeting
I assume this is murder story - https://en.wikipedia.org/wiki/Baneheia_murders

No idea on the - "Do yo know how Norway gets rid of it's aging population? They thirst them to death."

I assume - Patients Have to Refuse Food and Fluids to Hasten Death when Terminally ill - is the only option?
How to encourage feedback learning at work
Korean crypto exchange Bithumb says it lost over $30M following a hack
> It depends on your definition of good.

My '96 Mk 3 Golf still runs beautifully, but I suspect that is was designed and built by a very different organisation to what is there now.
5 Techniques to Automate Prospecting and Improve Quality of Your Leads
Play 2048 in the terminal (SSH)
I'll admit I'm having a bit of a whine. But yes, a turbo diesel engine shouldn't need a new turbo before 500,000k.

It's not uncommon to hear "oh, the turbos a bit tired", but it shouldn't be pumping the entire oil content of the engine out in to the engine bay every three months at 220,000k.

I say I'm having whinge because, of course, I understand how mean time to failure rates work.

My larger point was more about checking the reliability stats though.
Starbucks says it will close 150 stores next year
Iran's 3,000-year-old engineering marvel
Selling 3d TV to stores was briefly popular too but that dried up once the stores discovered that they were having a hard time selling them.
>> For the first month or so I take a very humble listening position

.. and then

- Everything in source control
- CI
- Static code analysis
- Artifact repository
- Automated deployments, incl database and configs
- Branching strategy & pull requests
- Standalone dev env per developer