2,807 karma · joined October 26, 2016
Then about 6? years ago almost overnight everyone (including mom) had a smartphone with Whatsapp and SMS/MMS was a thing of the past.
I really hate Spotify for everything except their pretty complete library and reasonable pricing. Discovery, searching, UI, everything just plain sucks, I miss 8tracks.
1: https://community.spotify.com/t5/Live-Ideas/Mobile-Remove-cu...
Edit: I've been hoping for years 8tracks would be back, and low and behold, they have relaunched: https://blog.8tracks.com/2020/04/19/welcome-back-8tracks/
Edit2: not really, still not available outside of USA/Canada
[
{"some": {"property": {"items":["A"]}}},
{"some": {"property": {"items":["B"]}}}
]
To avoid very long column names, values starting with "[" or "{" are parsed as json, so putting {"a": 1} in a column named C results in [{"C":{"a": 1}}]. Doesn't cover all edge cases, but worked well enough form my use case, which was providing a batch upload interface for a giant json (instead of a bunch of web forms) for excel savvy power users, allowing them to batch upload semi-structured data. I used jsonschema for validation on submit, worked well enough.And also, not everyone wants to sit in front of a bright light
In the en I convinced my wife to just use the DSLR (she was hesitant at first because of the extra hassle). A modern DSL had good IQ even ad candlelight, you really almost can't mess it up. Only way to destroy the image is to use different color lights (warm lightbulb on left side and natural light from a window on the right side will look weird on every camera I know of)
(lambda flask:
(lambda app:
(app,
app.route('/')(
lambda: 'Hello World!'
)
)[0]
)(flask.Flask('__name__')).run()
)(__import__('flask'))
See https://gist.github.com/e000/1023982 for more horrible examplesAfter Trump lost the 2020 election his supporters stormed the Capitol
> They smashed windows, tore apart the Republican Party's headquarters, destroyed a statue of Ronald Reagan and set fire to the Texas statehouse.
> A month later, after the Democrats took control of the Senate and the House, Trump's supporters stormed their own offices. They attacked the offices of California Democratic Senator Kamala Harris and New York Democratic Representative Joe Crowley. They ransacked offices in the Minnesota and Texas statehouses and burned down the Republican Party headquarters in Tennessee. The damage was estimated at
But I said had, because in 2020 the company seems to have transformed into a money-grabbing shitshow. Cloud for everything, deprecating fine hardware and fine software in favor of unneeded cloud stuff. Crappy firmwares with no easy way to rollback. CEO is supposedly running the company in the ground with outsourcing, constant crunch etc. There are some disgruntled ex ubiquity employees here and on reddit, if even half is true of what they say the company really needs to turn around soon, it is probably already to late.
Almost forgot, but just last month my wife started complaining about the WiFi, turned out the latest firmware that was pushed to my UAP's is horrible. You have to turn off auto update and check reddit before upgrading firmware, what a joke!
" Allow common table expressions (CTEs) to be inlined into the outer query (Andreas Karlsson, Andrew Gierth, David Fetter, Tom Lane)
Specifically, CTEs are automatically inlined if they have no side-effects, are not recursive, and are referenced only once in the query. Inlining can be prevented by specifying MATERIALIZED, or forced for multiply-referenced CTEs by specifying NOT MATERIALIZED. Previously, CTEs were never inlined and were always evaluated before the rest of the query. "
[0] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit... [1] https://www.postgresql.org/docs/12/release-12.html
In the Netherlands all earth movement was temporarily prohibited last year when it was found that many sites had too high concentrations of PFAS. So nearly all soils were considered hazardous material. Of course this was "solved" by changing the threshold of allowed PFAS to something much higher...
npm init svelte@nextAs it is kind of a hobby project, might as well learn the next hot thingg? Is Svelte suitable for these kind of applications? Some of the features of nuxt.js that i like: content module (put some markdown files in a folder and the routes, write a template and then all the html rendering etc is all taken care of) extensions for image resizing so images are resized to multiple resolutions as part of the build process, hot reloading in development
"To sum up:
If a function is only called from a single place, consider inlining it.
If a function is called from multiple places, see if it is possible to arrange for the work to be done in a single place, perhaps with flags, and inline that.
If there are multiple versions of a function, consider making a single function with more, possibly defaulted, parameters.
If the work is close to purely functional, with few references to global state, try to make it completely functional.
Try to use const on both parameters and functions when the function really must be used in multiple places.
Minimize control flow complexity and "area under ifs", favoring consistent execution paths and times over "optimally" avoiding unnecessary work.
Discussion?
John Carmack"
Really remote, like 500m away from a farm/main road. Maybe they discovered a few more remote sites, but the general presence of ancient rock paintings in that area must have been known for a long time