skysight-inc/HackerNews huggingface dataset:
>Any real expert in dolphins can tell you that dolphins can not be safely sedated because, unlike us, the breath in cetaceans is voluntary.

I don't understand any french so I can't say much about that article, but as a local from Nuremberg, I can support the prior statement about them using drugs to keep their animals in check. I'm also not so sure about your statement because I found a paper regarding the effects of diazepam use on captive bottlenose dolphins [0], explicitly stating that:

"It is very tempting to use these medications as a management tool. They can be used to help mask the problems of poor husbandry, and of inappropriate and depauperate environments."

and:

"There is considerable potential for diazepam to be misused and the welfare of animals compromised. It may be used to help cover up serious deficiencies in management and husbandry, and there is strong evidence of it being misused in dolphinaria."

So this practice most certainly ain't as unheard of as you are implying.

They use psychotropic drugs, along with a rather long list of 20 other medicaments to keep the animals alive in those sorry living conditions [1], the data on the medication came straight out of the zoo's files. The zoo's director himself argued that giving dolphins diazepam is a totally normal thing to do to increase their appetite [2].

Even as a kid I never liked that place, seeing these animals perform tricks in a sterile indoor pool, with their back fins hanging down, felt unnatural and made me feel sorry for these poor creatures. They also had a hippo there that was housed in a tank that's barely been bigger than the hippo itself. I'm not an animal expert, but I have empathy and that was and still is enough to recognize what's happening there ain't good or healthy for these animals.

[0] http://endcap.eu/wp-content/uploads/2015/06/Diazepam-its-use...

[1] http://uk.whales.org/news/2012/07/german-zoo-data-reveals-ca...

[2] http://www.sueddeutsche.de/bayern/tierschuetzer-kritisieren-...
https://www.websitepulse.com/
Any evidence for any of those claims? Putting anti-tampering failsafes and GPS tracking on the Snowmobile doesn’t seem like such a stretch, when you consider they don’t rent this out to just anyone on the street.

And 100 PB is still a lot of data. Facebook in its IPO filing said their entire media library was at the time 100 PB. Backblaze’s total backup size was 150 PB in 2015, just 2 years ago. I’m sure S3 is at exabyte scale now, but even so, 100 PB is not a drop in anyone’s bucket.
"Don’t cache Django models"

This is too broad to be good advice. A typical solution to stale models is to increment a cache version key, effectively invalidating the old cache.

Version keys can be coarse- or fine-grained. For example, you may have one version key for the entire application (supported by Django by default) and one version key per model or application (you have to roll your own solution). If your app's models change, you can increment the app version key and the next time you try to fetch a model instance from the cache, you will miss and instead fetch the instance from the DB.
Your SaaS isn’t charging enough
Out of interest, what makes this system unfair? Or are you just talking about the year demarcations?

I've always quite liked that my student loan repayment is tied to my salary as it's one less bill to worry about if/when things go badly. It means that when we were getting our business off the ground and didn't take salary out, I at least didn't have to worry about the student loan.

Don't get me wrong, I'm looking forward to the day I'm not having to pay it but at the same time, I think the changes in university fees would be better received if they simply called it a graduate tax that expires after 20 years.
Why do you think this is an appropriate attitude? What happened to you that you are like this?
Can only speculate, but that doesn't sound out of the realm of possibility.

The possible gains due to all the loopholes are a big part of the problem. Seems that businesses like Facebook are incentivized to do the wrong thing.

But they also have to face the backlash of their actions.
Though this sanction is barely going to deter any business from lying again, maybe public perception will.
Grunt vs. Cake vs. Gulp vs. Broccoli: JavaScript Task Runners Comparison 2017
Nice work, but disingenuous to not include a BPG (HEVC) image for comparison -- BPG is close to state-of-the-art, not WebP -- even their own SSIM charts show this.

Interesting that decoding is slower than encoding. Also curious about performance on CPU.

This approach may also be susceptible to "hallucinating" inaccurate detail; you can see a little bit of this on the upper-right of the girl's circled eyelid compared to the original Kodak image. See also: http://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_...
Seen a lot of age discrimination in tech...
There are not enough solutions in the UK to provide digital skills to older people and we are seeing a lot of recruiters steer clear of older technologists in favour of younger techies (possibly due to the price tag?).
Fight fire with fire, or “how to end ransomware for good”
Ask HN: For those programming 10+ years, what do you wish you knew 4 years in?
I've been programming for ~3 years now, first just on the side and now full-time. My learning has been in stops and starts. Now I can feel the cumulative learning paying off. I'm also realizing there's SO much more to learn. What advice do you have for programmers just hitting their stride?
As a Spring developer, this finally forces me to learn Kotlin. Even Spring Boot is ready for it since Spring Boot 2.0 M1 got released a few days ago!
Experimented? No, they inherited it from UNIX, that's how you do it there. UIDs are not necessarily human users, they are likely to be applications. Look at Postfix, OpenSSH, vsftpd, or any other software that bothers to limit its capabilities. They all have allocated UIDs in the system.
Facebook is known by lies and privacy violations, is this even news worthy ?
Who Should Use Smart Fuel Cap?
Firebase Performance Monitoring
Yeah this is great, now instead of properly machine-readable and verifiable XSD files we have pseudo-RFC text on some shitty GitHub page.
And do they need a new kernel so desperately?

I don't understand the problems with backward compatibility. They already provide it via the Android SDK (the support library).

Java/Dex/Dalvik/ART or whatever it's called now that runs the shit works on Linux 3.0 probably. (Android 2.3 was released with Linux 2.6.35 [+ patches, I assume && hope], and that's currently the lowest supported API Level (that is api level 9)).
Firebase Performance Monitoring – Gain insight into your app's performance
I agree that technology choices are not the best signal to use.

They're one of a variety of primitive proxies for engineering culture, depth of talent and "process maturity". IMHO there is a weak correlation with team size, but a strong small team with good culture can of course outperform a large team with worse organisational culture.

As you scale a team you get more capability, but there are more bases to cover and more value to protect. Some points along the appsec spectrum of practices and culture:

At very small team sizes, reviews of pull requests with some minimum number approvers, plus a culture of responding to comments and enough expertise on the team that someone recognises basic issues like "we shouldn't store passwords like that" or "maybe we shouldnt chuck a url parameter straight into window.location here".

Small-medium, some level of technical leadership and design going into features with security as at least a consideration. Maybe a budget for limited code reviews / pentesting now and then or someone on the team with a constructive focus on security. Some automation with mostly free tools. Issue tracking for security defects and sane priorities.

Further along / large: employees who conduct security reviews (e.g, devs cc on prs and some spelunking), pentest and work with developers during the design phase. Plug tools like static analysers, scanners / runtime analyses into ci & test envs. Conduct threat modelling. Run regular training for developers. Have devs who work on code safety (like wrapping unsafe libs or fixing bugs in key dependencies). Use an artifact repository and stay on top of bugs in dependencies. Maintain internal checklists and a security knowledge base. Sane metrics and reporting (this is surprisingly hard). Conducting 360's where you track down the root cause of bugs and see where you can stop it happening again. Processes for dealing with bug reports (security@). Bug bounties. And more.

Although all sizes of company experience a variety of incidents, where you see problems is when engineering maturity isn't commensurate with the value of the data / transactions / assets / brand.
> While we are slightly faster than JPEG (libjpeg) and significantly faster than JPEG 2000, WebP and BPG, our codec runs on a GPU and traditional codecs do not — so we do not show this comparison.

This is great news!

I'd actually like to see the plot, though. (Both for encoding and decoding.)
It stands to reason that a neural network can optimize image compression, as it can encode high-level information like "this is a face". But encoding / decoding speed is the sticking point, so I feel successes there should be emphasized.

The necessity of having a GPU doesn't seem problematic nowadays; everything has one. Testing it with a mobile-grade GPU would be interesting.
A few people have said that IntelliJ is slow.

Why is this so, if Java is not inherently slow?

Sure JetBrains are some of the smartest developers around and yet their IDE is still slow.

I can't help but feel that Java is slow and problems with performance in something like IntelliJ do nothing to dispel that feeling.
Online Shopping Stores – How They Can Attract the Peoples?
Best Places to Visit in Ahmedabad
From their website:

> Lubomir holds a Ph.D. from UC Berkeley, 20 years of professional experience, 50+ issued patents and 5000+ citations.

I just hope this type of research isn't going to end in a patent encumbrance, like it did with JPEG and MPEG.

These techniques are right around the corner, no matter who invents the file formats.

So if their idea is to lock these general ideas down with more patents, I'd want them to stop their research and let people with more open intentions research this further.
Gulden PoW2
Does the same applies to old iPhones? Can the iPhone 5 run the most recent version of let's say the Facebook/Messenger app?
> Dude, I’ve used 180 TB of traffic in one month on a 16$/mo server, and still, no throttling.

But legitimately using lots of bandwidth isn't the same as a DoS attack. Try and remember that bandwidth isn't the only resource being used.

> Scaleway

In my experience they throttle your CPU usage after a while.

> Hetzner requires you to buy traffic, but there it costs 1$ per 1TB of traffic, which is 1000x cheaper than Firebase.

At no point did I suggest using Firebase was a good idea. I said it's always cheaper to run your own services in the long run, and that they'd have found out their own problems (see my first reply) sooner.
As much as I hate ads, it's just not true that they don't offer any value. They often can and do inform consumers and businesses of products that will be of value to them. They often though advertise things that are also of the opposite (negative value) and play on human weaknesses.
You can generate infinite training data with the NN by feeding in random inputs and seeing what outputs it gives. You can then train whatever model you want on it without concern for overfitting.

But more importantly, the decision tree will model the behavior of the NN, not necessarily the original data. Which is what you want, if your goal is to understand what function the NN has learned.
Prison itself isn't voluntary, so it's a biased choice.
Depends on how you define poor but in Europe lower class families with no studies sending their children to become doctors or engineers is commonplace (without grants, students that are not super high achievers). In USA as far as I can see this is not true those families can't afford the cost and debt and even if the student could ends up with a huge debt for a large part of his life with no assistance and a worse social net. This is absolutely not the case in Europe. We are talking about people who want to get into college and can't afford it. Happens a lot more in the US.
> Scala has got a large library ecosystem

Kotlin has the entire java ecosystem to work with.
Again, I wasn't taking a position (eg "regardless of how anyone feels...") on what to do, in order to keep this from being too much of a derail. I was making a point about the strange way people attempt to quantify minority representation with one-off examples.
In elftoolchain you'll see some elfs having a size of 52 instead of 64

https://github.com/sergev/elftoolchain/search?utf8=%E2%9C%93...

Also it is interesting that the powerpc elf loader verifies that the e_ehsize is the same size as the allocated buffer, perhaps they had an issue at one point.

https://github.com/torvalds/linux/blob/ba6d973f78eb62ffebb32...
"Also, if a yardstick of innovation is the patent, then India is miles behind its Asian counterparts."

It isn't. Patents are a poor proxy for innovation, especially when used to compare across patent systems instead of within one system over time.
I agree. I prefer ES6 and Kotlin's interpolation syntax. Ruby is ok too.
Looking on some London IT job offers in London:
https://jobsquery.it/jobs;page=1;tags=;sortBy=publishedAt%3A...

Average salary is about $70k / year:

https://jobsquery.it/map;bounds=%7B%22south%22%3A49.82321169...
Why do they say this then:

> We however, strongly advise you to change your password for any other services where you are using the same password.
wouldn't Malays and non-Malays have differing enthusiasm for racial equality?
How about an ethereum smart contract that gives back your money unless the owner releases the key used to encrypt your files (which may be possible to verify in the contract)
There are lists like this, but they are quickly getting out of date. The most recent entrant is Google Cloud Core IoT service.

Every major cloud (Axure,AWS, GCP, Bluemix) has managed IoT service now + many niche or IoT-specific ones, like GE Prefix.

AWS IoT is the best for now, but it may change in the future.
Too verbose for me. I always prefer short syntactic sugar.
App design and vlogging – new DIGITAL Girlguiding badges
Noctua introduces new A-series fans and accessories (200mm, slim 120mm)
Neither of them do what I want which is to write some logic code once (logic / network / persistence) and run it both on Android and on iOS.

What I do now is use j2objc, but here I am stuck in Java land.
Agree on this one. I know that hosted GL works much better, yet I have to remind myself about that every time in discussions, because I mostly used the hosted version for private projects.
"Given that an autonomous vehicle capable of performing safe comprehensive driving skills doesn't yet exist I find this and other claims in the article somewhat of a stretch."

This seems odd to me - this is a prediction, so (to me) it is natural that the tech doesn't quite exist yet. But we have things like assisted braking, cars that help you park, and tests of self-driving cars. Heck, some cities have already approved them for use (1]. It isn't like we need them to be perfect, only have them wind up better than the humans. It doesn't seem like much of a stretch to say we'll increasingly rely on them in 10 years.

[1] http://fortune.com/2017/01/24/driverless-car-cities/
React.js Development Company India
CB Insights mimics Spotify for better market intelligence
> Given that FB paid $19 Bln for WhatsApp, €110m seems to be a cost of doing business for Facebook

According to Facebook Q1 2017 results, it had ~7.2 Billion EUR revenue and 2.7 Billion EUR as net income.

https://s21.q4cdn.com/399680738/files/doc_financials/2017/Fa...
So has Scala (to exactly the same extent as Kotlin, despite what Kotlin pushers will tell you), it's just got a better additional library ecosystem than Kotlin has.
Is there reason to choose Kotlin if you don't already live in the Java world?

Put another way, is it a language that makes living in the Java environment less painful, and thus only of value to people who continue to need to live in the Java world?

Why would someone who has never programmed in the Java ecosystem use Kotlin?

I'm surely ignorant and prejudiced but when I read this I thought "Hey why not try Kotlin?", then I thought of Java and images came up in my head of thousands and thousands of files being installed, and the vast, lumbering Java engine cranking slowly and chugging and masses of XML configuration up the wazoo for everything and I shuddered and thought "I'll stick with JavaScript, where the pain of configuration is merely excruciating, as opposed to the pain of Java configuration which is similar to bowing before throne of the Java king of ninth level of hell awaiting punishment for a lifetime of sin.".
Why are you citing an FP comp Sci professor? I must've missed something
>Note the source is Kasparov, who is not an entirely unbiased source where Russia is concerned

To say the least...
Absent an agreement that stipulates a vesting schedule or dilution/share return on leaving before some point, he absolutely is (legally) entitled to his 1/3.

Whether or not it's best for the company that he keep it (I agree it's not) is an entirely different matter.
O ya, it was sent by her. Small world ay?

It's not a bit surprising to most people to see Clinton's folk get excited about a dinner with _that_ ritual. I mean, heck, everyone knows that's completely normal right? (I would rather not post her demo video, but it's on yt).

And it's perfectly normal for Bill (and?) to be visiting the unmentionable island.

How about Tony Podesta's taste in art? Totally normal right? (I _really_ cant post that here out of respect for basic norms, I recommend not googling it if you don't want see some extra creepy shit).
I use both, a lot of people I know use both. I think they fulfil different markets.
You'd need to rewrite Swift to run on the Android VM (a big undertaking) or fork the Android frameworks to work well with Swift. That's a much bigger undertaking than supporting a language which was created for the JVM and specifically made for interoperability with Java.
Refactoring is a dream with JetBrains. But it is very language dependent, with Java having most support. Haven't used Kotlin in Intellij so I don't know how well Kotlin is supported, though I imagine rather well given that it their own language.
people in africa probably have some place they outsource to, maybe china or something

Companies in South Africa outsource to India quite often. Africa is huge, and hard to generalise about.
No, but we do have a solution to one kind of bugs, which is buffer overflows. Just because it doesn't solve every bug doesn't mean it doesn't help.
Here's an attempt to transpile Kotlin to Swift: https://github.com/moshbit/Kotlift

(Not updated recently.)
Why is this being downvoted? Prev post said you don't realize how many magnets are around you, so the parent is asking. I wanna know too. I additionally came up with speakers/headphones, connectors, reed switches.
Without actually trying it out in a self-hosted scenario (and this is a non-trivial time investment to do), you don't know if that situation is because of the scale or some constant factors. The slowness could be because of thousands of projects hosted, or because of stupid interaction with git which slows down every single page. Until you try it for yourself, it could be either. (it seems to be the former mostly)
Interesting. How would you compare it with what Narro does? Does it use Amazon Polly?
>It doesn't offer any value to the consumer (at least Tobacco offers some temporary pleasure), it must be taxed harshly.

I'm quite sure I've received value from browsing ad-supported news outlets and using other ad-supported online services, so speak for yourself.

Furthermore, even though no one likes to admit they're positively persuaded by ads, it's universally true. How many times have you seen an ad for a movie and then gone to look up its reviews and considered watching it that weekend? Ads are just a way for companies to get the word out about their products / services, and sometimes they're legitimately useful.
Is the Native AOT compiled, or just a different byte code VM? I assume the latter?
If you looking Freelancers developers for your idea. Once visit its helps you
The point I responded to was maybe we should be above politics in names, to at least be capable of treating names with a professional indifference. To that end there's a simple test to see if someone you're considering working with believes that too. (Of course it's fully reversible, maybe the future will require passionate condemnation of names that might give offense in order to get hired.) For your point of unsavory associations, sure, but it depends on your expectations for audiences. What's the cost of association if no one throws a fit? What is alienation over a word if not a fit?

I can see a problem if you expect to pay that cost frequently when you bring up the word, and thus avoiding it, but if that's really the case it's worth wondering what other sorts of issues will come up that you don't expect when deciding to take the chance of alienation cost. If I made something as awesome as Stalin I'd put it on my resume, even if it resulted in periodic emails/comments about how insensitive a name it is. Even if some tech readers won't want to work with me because of it, I wouldn't want to work with them, so we're both happy, and we find that out before we actually try working together. I wouldn't put a 'I made Stalin' bumper sticker on my vehicle though. For a name like Kotlin, I really doubt Ukrainian programmers would be upset over it, it seems so absurd, but I can see the possible issue of the general public being sensitive about it in which case it's wise to only have the association in tech contexts.
The University of Minnesota licensed Gopher in the early '90s. Until Gopher had its lunch eaten by a public domain WWW.
Top Ideas for Creating Website Content
> Too little work, you are lazy, too much work, the quality of your work drops to the point you could work very little

Too much work, and you only learn to tread water reactively, never plan proactively.
> Irrelevant, since he's correct.

Purely coincidental, it was a joke like we normally hear about outsourcing to India.
The load is probably more important than the server capabilities: I imagine gitlab.com is slow due to the sheer volume of access and the number of projects being hosted. Self-hosted instances aren't likely to a) allow random strangers to host stuff and b) attract a large population of such strangers.
Having all parameters to be read-only is a deal breaker for me.
I've used IntelliJ for Scala some time and did encounter way more IDE bugs than in Java. I think JetBrains did a good job, but Scala is not engineered towards tool support. That is one big flaw of the language.

Kotlin is much more pagmatic (not only) in this regard, what is no surprise coming from a tool vendor.
Have you tried AppCode?