skysight-inc/HackerNews huggingface dataset:
We don't use django, but we basically do this, we put python in the DB (PL/pythonu) and it's hosted in a VCS repo and use liquibase[0] to handle getting it into the DB, along with our schema's, etc.

Debugging can be a little harder, but testing generally isn't you know the calling signature(s) PG uses so writing a class for UnitTest/pytest is straightforward.

Our APP logins ARE DB logins for our desktop product(s), but for web we have a single DB user that web apps log into the DB as. We'd love for web logins to become PG logins as well, but we haven't found a very performant way of doing that yet. PG sessions are a heavy startup cost.

The functionality for us, isn't the same between the web and desktop product(s) which helps a lot.

We push access control into the DB for the most part, using row, column and table level access controls PG provides us. So our desktop product has basically no access controls in it, since the DB provides all of that at login time. We have a few power users that connect directly with SQL, and we have zero issues just handing them access, since the DB controls what they can/can not see just fine.

Sadly so many tools just assume their DB connection is the equivalent to root, and can just go do whatever it wants, which makes lots of tools, especially reporting tools, hard to just hand directly to end users.

[0] http://www.liquibase.org/
just wanted to point out that the joy of these approaches is that you can render on the server with the same components. the method for feeding it data obviously differs, but that's (when done right) pretty minimal.

my favourite way of demonstrating this was actually to turn js off and still see everything working. the progressive enhancement flag is still flying, and tools like this make it easier by far.

in this case, the server could be (soon!) java/clojure, which is insanely hard to do in an idiomatic, pleasant way with react components. really looking forward to getting this all wired up, and if anyone is interested we're discussing how to get hdom talking to CLJS here: https://github.com/thi-ng/umbrella/issues/36
I do agree with you on the general notion of free trade. But in this particular case, there is no mention of any barrier imposed on qualcomm products; the deal is about jointly creating a new product. What I disagree is claiming free trade while suggesting qualcomm should not do certain deals for national interest reasons.
"Islamist militant rebel groups have been identified in UK government contractor documents relating to the CSSF funding programme, groups which have been found to have been complicit in war crimes and to have gone on to support more militant activity.

This suggests that the West’s role in the conflict has often ended up supporting Islamist militant groups. To some extent, this has been acknowledged in internal documents. A Pentagon memorandum and a confidential communication from the leaked Hilary Clinton emails illustrate that Western intelligence agencies are aware that the bulk of support to armed rebel groups from the Gulf states and Turkey has gone to support Islamist militant groups, including al-Qaeda and ISIS."

Says it all really. Western pot calling the kettle black.
Specifically, the concept of being so beholden to an employer as to be essentially forced to obey their (nearly) every whim is called “wage slavery”[0]. While it’s not nearly as bad as the days of the “company town,” [1], when workers could be paid in company scrip good only at company stores[2], while renting company living quarters, more people are wage slaves today than will admit it, and they get angry when you suggest they are!

[0]: https://en.wikipedia.org/wiki/Wage_slavery

[1]: https://en.wikipedia.org/wiki/Company_town

[2]: https://en.wikipedia.org/wiki/Company_store
It is arm-based, so I believe it doesn’t. If you’re about x86s, then segment registers are there, but were not actually used (except for fs-gs utility cases) for almost a couple of decades, afaik. Segmented memory model is simply slow, cumbersome and unnecessary in the presence of decent pmmu.

Edit: though strictly speaking I was obviously wrong on that, clarifications are welcome.
I am surprised that taking a baby aspirin every day may turn out to be harmful. It's been common wisdom for years, and now it may (or may not) be wrong. Like the advice that chocolate and red wine is good for you.
'Techno' was definitely not the generic name for everything before Drum & Bass, Dubstep, and Trance.

Jungle was the precursor to Drum n Bass, and Hardcore/Rave were the precursors to Jungle. Rave came from Belgian techno and Acid House. Acid House came from House.

Techno and House developed in parallel to each other (in Detroit and Chicago respectively). House coming from Disco origins, Techno coming from Disco and European electronica (Kraftwerk) - and Prince (yep, really).

Dubstep is much later and was actually a product of UK Garage, which grew from the Drum n Bass scenes.
Then all software would get slower for no reason other than making compiler nerds happy. C++ in particular heavily depends on optimizations like SROA, which you just killed in most cases (e.g. whenever you called a method on an object, the compiler would be forbidden from promoting its contents to registers because of the "this" pointer). That would be doing a huge disservice to users, virtually all of whom don't know or care one bit about what machine instruction the "*" operator in C++ corresponds to.
Tiny Device Is a ‘Huge Advance’ for Treatment of Severe Heart Failure
I hope programs like this work and continue to help out my fellow Kentuckians. Beyond coal, factory, or retail jobs the opportunities for work in eastern kentucky and appalachia in general is bleak.
"Ghost engineer" sounds like AR skeuomorphism. Why have a ghost engineer showing you how to repair iMacs, if you can have your AR headset just show you on the iMac which part to replace and how?
From the Python 3.7 docs (https://docs.python.org/3/library/functions.html#round):

The behavior of round() for floats can be surprising: for example, round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: it’s a result of the fact that most decimal fractions can’t be represented exactly as a float.
You'd have to start braking halfway through to end up at your destination.
It's hard to know what to say when you apologize. So I've learned how to say these words in a heartfelt tone (even while hanging upside-down out a window).

I'm really really sorry. I apologize unreservedly.

I offer a complete and utter retraction.

The imputaion was totally without basis in fact and was in no way fair comment and was motivated purely by malice.

And I deeply regret any distress that my comments may have caused you or your family and I hereby undertake not to repeat any such slander at anytime in the future.
If you think you have to glue content in front of their eyeballs, you've got bigger problems than fulfilling your legally mandated requirement for check-the-box training.
Aren’t some of these mega corps contemplating building their own employee cities? We could see people forced to re-learn just what a company town implies, and all out of a drive to centralize in SV and lower housing costs.
Just to chime in a bit on that point of never coming across captivating tracks that you haven't heard before.

I went to a nightclub a little while ago where one of my favorite DJs (Project Pablo) was spinning. I'd worn out every one of the guys' releases on streaming services and spent hours and hours listening to music in the genre (via Google Play Music radio suggestions, etc.) and I didn't hear a SINGLE song that I recognized over the three hours. I left totally thrilled and optimistic that there's still this underground culture of DJs being able to play sounds in the club that you've never heard before.
> This does seem a bit too experimental to actually be useful

I use it for 3 years ...
I've just updated it, to make css scopable, and decided to release it to the public.
I've got a "big app", with more thant 50 components, with vuetify, vue-router & vuex, 2 websockets and a lot of fetch ... it works as expected (btw I've never used vue-cli/nodejs/webpack with them ;-)
This sounds terrible to me. The process of learning, particularly when young, isn’t just about having the information fed to you. It’s about trying, failing and being shown where you went wrong. Quite literally, falling and being helped up. How do you get help diverse problems like handwriting, getting on with others and the millions of other situations teachers help with? Empathy via Facebook sounds bad.

A big problem with education in my opinion is that everyone who has been to school sees themselves as a teaching expert. The near-minimum-wage teacher who buy school supplies out of their own pockets, they are the experts.
Rant over.
So pointwise exponentiation composed with dividing by the sum. Still don't need a new word.
I think you both generally agree. The choice is either handle now, or rethrow and handle later.

Which one is "default" depends on if you're writing library code, application code, or service code. Especially in services rethrow, catch all at the top, and log is common and makes sense.

Probably less appropriate for a zlib or a file not found call. You'll have to do something (unless the answer is crash ... Which it is a sometimes!)
It's not just rare diseases. Anything that cannot easily be diagnosed. They end up treating the symptoms because finding what the cause is is nigh impossible for a real-world doctor with a full waiting room and a limited budget.

If someone thinks I'm just rambling, I took medical courses worth well over a thousand lecture hours (incl. biology, bio.chem and other stuff needed as a basis), plus I myself was one such patient and I spent years on it - together with a specialist I finally found, a researcher at a university clinic.

Anything that has an underlying cause that is not itself an obvious disease is part of that category. For example, "simple stuff" like psoriasis (mine went away after treating the cause), acid reflux (usually no concrete cause is found, only guesses - weight, food, only in rare cases where there is an anatomical problem as the immediately visible cause is one determined), lots of other "fuzzy" things that are not (immediately) disabling conditions.

I'm an example. I was told by a professor of gastroenterology that I would have to take PPIs forever. His diagnosis was completely in line with all recommendations given my problems - but it felt completely wrong on all levels. I did my own research and found the true cause, looked for a specialist, got it confirmed, treated - and I proved that professor and a few other doctors wrong many times over. I have no hard feelings at all though, I'd still go back to that professor if I needed a professional opinion. I just interpret it very different than before though and don't take as the ultimate answer. I'm actually somewhat satisfied with modern medicine despite the fact that it let me down big time had I not spent an extraordinary amount of effort myself - after all, when you do invest that effort, never in the history of mankind have their been so many options.
France is quite allright in this regard, it's other EU countries that are more worying: Greece, Italy, Romania, Bulgaria, not necessarily in this order.
I Agree with what you say.

But you gotta realize, just having the time clock (suprachiasmatic nucleus) synchronized and working perfectly in no way implies that OP will sleep early.'

Some people are hard-wired at DNA level to sleep late.

I made that comment in hopes make this point.

It is a big deal.

Not everyone has a flexible sleep cycle.
Why Is Outward Leadership Important?
That is the common recommendation.

I've always been confused why that approach is preferred over a general purpose tree shaker.
So what that does with linear addressing and optimization? How the presence of registers and caches depend on [non-]linearity?
Our react-native experience at Drops (so far)
Too evil, so invert it instead. If you look at the right part you’re rewarded, and if you don’t the reward is withheld. Now people will fight for the right to stick their heads into the Skinner Box, even though the same reinforcement tricks are at play. I mean, it’s working for game developers.
I noticed even a single normal ABV beer makes a noticeable impact on my workout the following morning (I workout 5 mornings per week). There's just an a edge I don't have if I had a drink the previous night, and it definitely doesn't require overindulging.
10 years ago the world met the First Android phone. It didnt have headphone jack
Obligatory quote from Frank Herbert's Dune:

> Arrakis teaches the attitude of the knife - chopping off what's incomplete and saying: 'Now, it's complete because it's ended here.'
The language is ambiguous, your quote puts together parts of two separate clauses.

The people aren't on the block chain, the "law is finalized (by those people) on the blockchain".

So, throughout the day as a judge is making rulings, their clerk is signing transactions on probably an Ethereum dapp.
This misrepresents what Citizens United was about.

The idea of Citizens United was not that corporations are people, and therefore have free speech rights.

It is instead that corporation is just another word for "groups of people", and that groups of people retain their rights, even when they join together to do something.
I have to do the following:

- I can't eat any junk food pretty much at all (pizza is a particular trigger food -- salt/MSG, i dunno?)

- I can't eat anything late

- I have to take a melatonin an hour before bedtime

- At least 20 minutes before bedtime I have to put on a sleep mask and just start really winding down. Often this is more like 60 minutes before bedtime. This is just lying on my back and not really trying to sleep.

- Then I have to find some program to listen to, quietly, that derails my train of thought, but isn't actually interesting to keep me awake otherwise my internal dialog will keep me awake.

- Then it takes me about 20 minutes of actually trying to sleep to sleep on a good night.

And even given all that sometimes the slightest bit of stress will completely screw up my sleep schedule.

Exercise can help, but not right before bedtime, earlier in the day, probably through addressing stress. Too much exercise and sore, hot muscles will keep me up all night.

So, yeah, we've all collectively heard nearly everything that you can suggest, and it takes all of that just to barely make me functional.

And napping is usually awful and leads to staring at the ceiling until 3am. So if I miss sleep one night I'm usually powering through the next day on sleep dep. Then if its stress that is keeping me awake I may still get not enough sleep the next night. The stress from not getting enough sleep can cause stress at night that keeps me awake.
Ultimately it tends to 'break' and I get a good night of sleep and the stress drops off and I start getting back to normal again.

And I'm probably fairly well adjusted for being a sufferer, there's a lot of people out there who are more clinically diagnosable.
Its register windows have spilled out into the SCRAP heap of history.

But to its credit, the SPARCSTATION represents PANTISOCRACY with NO RACIST PAST. It ROASTS CATNIP for SATANIC SPORT with no PARTISAN COST. It can create a CAT SOPRANIST with a CASTRATO SNIP.

https://new.wordsmith.org/anagram/anagram.cgi?anagram=sparcs...
Yes, saw you posted it after my comment.

You were one of the reasons why I got interested in Clojure / CLJS. Even visited a workshop of yours a couple of years ago ;) I'm still in dabbling mode unfortunately.

So my understanding after reading your tweets - is that for your use cases ES6/TS is better suited for front-end stuff. But Clojure is still worth digging into - if only for learning the philosophy, principles, ideas and simplicity of FP.

For what use cases would you use ClJ / CLJS nowadays?

Anyway, thanks again for your work - I like the hiccup style of building UIs - so will be checking out hdom.

Edit: typo
I too am from Europe and I organized my first commercial techno party in Berlin in 1997 and every single artist named Atkins as a pioneer wrt electronic club music.

Wrt your music categories, your ontology is screwed just by its existence: Dutch techno would pass as hard-tek in the US or UK and as gabber in Germany. Lots of Central and South African DnB would pass as triphop in Western Europe.

When I moved from organizing local to international events, I had to learn the hard way that the categorizations of electronic music are a very national thing (probably influenced by the few magazines per country that wrote about it at all).
Why the intermediate step of cremation?

https://www.nytimes.com/2018/03/22/smarter-living/green-fune...

> Here is what Americans put in the ground each year through traditional burials: 20 million feet of wood, 4.3 million gallons of embalming fluids, 1.6 million tons of reinforced concrete, 17,000 tons of copper and bronze, and 64,500 tons of steel, according to the Green Burial Council.

> Green burials eliminate much of this waste by leaving out almost all of those materials; most bodies are simply wrapped in shrouds made from a biodegradable material like cotton and placed in the ground. And although cremations often have the reputation as being an eco-friendly option, they tend to have an outsize carbon footprint.

The article goes on to mention http://www.letyourlovegrow.com/ , which sounds similar to The Living Urn, and http://www.eternalreefs.com/ , "which hold cremated remains in an underwater cement ball and create new marine habitats for fish and other sea life."
I'd much rather eat a hamburger or chicken than butter... but I also have a lot of native fat to contend with. A keto nutritionist told me just eat your protein first then any veggies you can get down.. having had VSG I can only eat maybe a 4-6oz steak or burger or chicken and maybe two pickles or stalks of asparagus before I'm full.

When I eat candy/sugar/soda I can eat a lot throughout the day, and get a lot of calories in from sugar... i still eat smaller meals, but the sugar did me in. When I'm in keto, my appetite is non-existent, like ever. I'm hardly ever hungry. I don't produce ghrellin so most hunger is mental for me anyways.
I think that you think it’s accurate but demeaning. I value the truth more than feelings. If you value feelings more lie. Lie unhesitatingly. Lie with no apologies. Lie with vehemence. Lie and work to destroy the lives of those who love the truth.

If you value truth more work to expose the truth.

But whatever you do don’t apologise. If you’re going to try to destroy people’s life’s work own it. If you’re going to try and bury an opinion because it has bad consequences without regard for whether it’s true or not own it, know it. Those who follow you may believe they’re burying a lie but you should know you’re doing your best to bury something you believe to be true.

But don’t piss on the people whose lives and beliefs you work to erase by apologising. Show them the respect of working to destroy what they believe in openly.
> its fundamental assumptions contain a inconsistency

Really? What is it?
Influence Maximization on Social Graphs: A Survey
That's my concern as well. I love the idea of home automation, but I don't want someone else to have that data.

It sucks, but we're the minority here.
Softmax has two components:

1. Transform the components to e^x. This allows the neural network to work with logarithmic probabilities, instead of ordinary probabilities. This turns the common operation of multiplying probabilities into addition, which is far more natural for the linear algebra based structure of neural networks.

2. Normalize their sum to 1, since that's the total probability we need.

One important consequence of this is that bayes' theorem is very natural to such a network, since it's just multiplication of probabilities normalized by the denominator.

The trivial case of a single layer network with softmax activation is equivalent to logistic regression.

The special case of two component softmax is equivalent to sigmoid activation, which is thus popular when there are only two classes. In multi class classification softmax is used if the classes are mutually exclusive and component-wise sigmoid is used if they are independent.
I was impressed by Robert Byrd's deep apology for having been once a member of the KKK:

"I know now I was wrong. Intolerance had no place in America. I apologized a thousand times ... and I don't mind apologizing over and over again. I can't erase what happened."

Very rare for any politician to apologize so completely and offer to apologize again if necessary.
Cavium is actively competing with Intel, offering ARM for the server space. You can rent cavium CPUs from http://Packet.Net for a lot cheaper than Intel

Qualcomm's server unit demise has more to do with management than tech - Cavium built it's processors with fewer dollars than Qualcomm.
Except it’s all very anti-cyberpunk. Mostly because the vitriolic and perhaps self destructive (aka: the “punk” part) rejection has been very anemic so far.

“Punk” as self destruction to express disdain for norms is a requirement, otherwise the future is merely “Cyber” and in that sort of septugenarian congressional “Information Superhighway” privatized by Enron interpretation of the word.

It’s not really “cyberpunk” until cruising for back alley bionic implants becomes a reality.
The key to a good apology is empathizing with the other party.

How have your actions affected them?
Are the path random? Does a firefly see the other fireflies? Can I select the color of the background or the fireflies? (Perhaps also density, and path length.)
I have only one question: what is the purpose of this stuff? Was it made to extend the possibilies of Dart?
If I were every to have input into the curriculum for an engineering program, I'd stress adding more about verification and validation of models, not adding more on numerical methods in general. All users of off-the-shelf models must do at least some sort of check on the model. You do not need to understand how the model works to check it, fortunately. Unfortunately, it's rare in my experience for engineers to do V&V. It might take some culture changes to fix this.
Darpa initiative.

Does walmart detect when you close your eyes trying to avoid the anti-union 'documentary'?
Coming from pure math, I often feel this way now learning statistics and ML. In pure math, it feels like the threshold for how a novel a concept should be before it gets its own word is much higher.

E.g, we have "regression" and "classification" instead of "supervised continuous prediction" and "supervised discrete prediction".
Bullet Train Extends Beijing's Reach into Hong Kong
I don't want to sound snarky (and please don't see it as such), but did you read the readme? I'm not familiar with Mercury, but looking at the code examples, some obvious differences are:

- hdom does NOT care about state, where it comes from or how you manage it

- hdom uses vanilla arrays(*) instead of `h()` function wrappers, which not just create more legible (IMHO) style, but also open components up for more options in terms of construction/composition and also transformation.

I think that last aspect is seldom talked about in all those discussions and comparisons w/ React & co. Entire 3rd party frameworks are invented & maintained just to provide augmentation, configuration & injection features for React style components, issues which can be much easier solved if your components are in a less abstract & more native data format already. ES6 provides a ton of nice features to construct and transform arrays without any additional support structures. hdom also supports & fully embraces ES6 iterators and the more modern ways of transforming data they support.

There's a blog post about this forthcoming, so apols for not going into more detail here now...
Removing ROP Gadgets from OpenBSD, Todd Mortimer (slides) [pdf]