skysight-inc/HackerNews huggingface dataset:
One thing I do frequently is create an ordered dict where the keys are either regex patterns or lambda functions that return true or false; and the values are some sort of label (let’s say some sort of document type). Then I’ll create a function that will take that ordered dict plus some data, and return the first label that the data conforms to (e.g. regex pattern matches some text input)

This is a handy way of making classification rules for a many stepped process, where certain rules have priority over others. The alternative would be a lengthy set of ifs and elifs which is both ugly and not fun to edit on the fly.
> It was the local left (backed my Mayor Adler, local Hillary organizer) that banned Uber & Lyft

When were Uber and Lyft banned? I recall when they left because they did not want to comply with driver fingerprinting requirements, but don't recall any ban.
I think, too, sometimes, but not too much, or else I get no sleep, but please don't hate my use of commas and run on sentences, I swear I'm making a point.
Will Amazon Finally Kill New York?
As long as it’s not fast or turbo, this is actually not as bad as I expected. It’s soothing, even.
> is having short-lived DB network hiccup cascade up your supervisor tree and shutting down your app

Can you link me to a description of this? I am currently working on software that expects DB tx on the order of 10/second (so I have literally never had this problem), but am transitioning to a project where I expect to have 10k-100k tx/second. What causes the hiccup, and why is it not taken care of with sensible defaults in the typical libraries (Ecto EG). I'd love to have an ieda of what could be coming down the pike for me (to be defensive)

an external language-agnostic supervisor (god, upstart, supervisord, docker, ...)

So some of my coworkers are old C++ programmers that were FAANG hotshots and imagine it possible to do everything in C++. They don't write unit tests, have just learned go "because it's better" and don't know kubernetes. There is literally no "high uptime/reliability" story in-house ATM.
I don't understand it either. The difficult thing in any transport system like this is clearly the land and land rights. If you can't make that cheaper and easier to manage from a legal perspective than I don't see how a slightly better mode of transportation would offset it.
Powerful Fintech App Development Fields You’ll Like to Invest
This one is one of those things that took us so many iterations to nail. Very happy it finally got to a good place. We'll integrate it into balenaOS soon by default, hopefully.
A Nativity for Our Times
Seconded. Just watch any movie of a World War/Doomsday/Zombie Apocalypse level event occurs. The people get information via radio. They don't plug into the internet. The internet may no longer be there. This might be hard to imagine for the younger generations, as they've not known to not have the internet. Radios are very effective for broadcasting "pirate" signals, and are pretty easy to receive as well. It would not be that hard to MacGyvre a crystal radio together. It used to be everybody's first "learn electronics" project. You can even do it from non-digital equipment. Analog signals are "cool" in their low-tech abilities. Here's an example video of how low-tech you can go: https://www.youtube.com/watch?v=VqdcU9ULAlA
As someone from Michigan, the UP, while great in its own right(just as the rest of the state of Michigan outside of Detroit and it's suburbs), is very much being idealized here.

I live on the west coast now and the beauty simply does not compare. I can't speak specifically for California but even SF, its surrounding hills and even the time I've been in LA make the UP pale in comparison.

We're talking about dirty rural communities with no mountains, and no oceans- forget about jobs. Oh, and I hope you like hot summers and freezing, feet-of-snow and ice winters.

There is a reason some places are more expensive than others.
I started reading these, but they are so full of misrepresentations that I couldn't stomach the whole list. You can't judge someone by reading second hand opinions. From the first link:
* Accusations of mysogyny and bigotry without quotations as evidence. Immoral.
* Claims Peterson thought bill C-16 was a violation of free speech; in fact he was only concerned about "compelled" speech. Immoral misrepresentation.
* Author purports to understand what Jung meant better than everyone else who supposedly have all misinterpreted Jung, with no humility or self reflection whatsoever. Immoral.
* Suggests indirectly that differences between men and women come from "questionable data". While literally anything could be questioned, misleads. Immoral.
I've only gotten through 3 paragraphs, but my instincts tell me to stop reading this trash. It's clearly not honest.

My impression is that Jordan fears dystopia. He has studied the psychology of totalitarianism, both on the right and the left. He has concluded that the atrocities could not have been committed were it not for the failings of individuals, a failure to remain true, to remain moral. As a result, Jordan is very careful to remain as moral and ethical as humanly possible. He very carefully choses his words so as to not accidently say something that isn't quite true. People are drawn to him because his ethics and morality are many levels higher than anything anybody has seen in generations, and it is striking.
It's possible this is an account suspension (i.e. "We don't want you to have an account anymore because you do XYZ"), but it looks more like a fraud / financial flag (i.e. "We think someone has broken into your account and we're holding your funds temporarily.") As evidence, they still contact him about new subscribers and his page is still online, which it isn't in other cases when Patreon suspends an account.

Still an indictment of their communications process, and still a financial risk to the person, but it's a little odd that literally all the replies in that Twitter thread are people talking about Milo Yiannopoulous. Even if Patreon decided it wanted to go all in on hosting controversial political figures, they'd presumably still have some kind of fraud checks, so the points really do seem to be unrelated.
To the extent that you can steer what you are working on at the coding bootcamp I recommend picking something that you are genuinely interested in as that will lead to greater satisfaction in both the minor and major achievements in programming. It will also give you something to talk about during interviews :)
Yes. I was going to make that point as well, but I guess the previous comment was kind of hyperbolic.
>Spending for guns, ammunition, bulletproof vests, gym equipment, a firearms training simulator, radios, night vision gear and ceremonial uniforms totaled more than $1.3 million, according to the agency.

A little more than just arms, but most of it was related to arming the agency.
I have the exact same issue. A sit-stand desk with a wide height range has saved my back. The biggest challenge left is finding a chair that’s shallow enough to sit at the back of (for proper lumbar support) and still be able to bend your knees.

Try adding a nice extra-tall laptop riser too. Typical ones tend to be 6-12” too low once the desk is no longer too high for typing.
This was the underlying plot of the movie Jack Reacher; shady construction firm that goes from city to city.
Some time ago the Armory 3D game engine also had this problem of suddenly being blocked, without notification or reason. The creator exactly solved it like this, with reoccurring payment, status on the website, and even a one-off donate button: https://armory3d.org/fund.html
I've actually had great success with TypeORM now on various personal and client projects... Maybe I haven't used all the features you have used (like I've never touched TreeRepository...), but I've never had a problem with the migrations because I just write my own, and I write my own models, etc. TypeORM has had the best combination of fullblown ORM and just-build-my-query-intelligently that I've seen to date.

TypeORMs migrations are pretty simple, just write your own migrations? I only use TypeORM to generate the migrations (i.e. `typeorm migration:create -n <name>`, then open the generated file and write `await queryRunner.query(`....`);` and craft the migration myself, and make sure the changes are reflected as need by in the related models.

TypeORM is actually a better ORM than a lot of the options out there. I remember using C#'s EntityFramework (this was during the move from .NET 4.x to core/standard) and I kept wishing I was using TypeORM over it -- the annotations in EF were half-baked (to be fair they were still porting functionality), and it was just shitty all around. Then again, C# is my weakness so maybe I just didn't have enough skill.
Okay please tell me this is a Markov chain bot being trained on scripts from unaired Twilight Zone episodes.
The thing is SQLite handles a lot of hard problems that you might not realize you have: like “was my data actually written to the disk”
Not sure why you are coming back on coal. Thats is not my point. My point is that the link does not give any support to whether or not solar panels are net waste energetically speaking. Its fairly obvious that they are probably much better than the worst fossil fuel, but that does not answer the original question raised.
I'm saying there is no mystery -- that people invoke mystery as an avoidance tactic when they have cognitive dissonance about an otherwise well-established conclusion, or when they find some pleasure in invoking the unknown and philosophizing.

There should be nothing mysterious in 2018 about a biological being that has an internal self-model, memory, and processes sensory stimuli and internal neural firings over time, both of which have a direct relation to the physical basis of that self-model. That is what self-awareness is.

"Experience can't be explained by science because science only arises in experience" sounds profound but contributes nothing -- if you invalidate the content of your experience, then you no longer have any reliable axioms on which to build any argument whatsoever, and we might as well all go home.

The Sam Harris video you linked makes a good point -- that we want an explanation of consciousness that intuitively makes sense. I'm saying that if you study enough AI and neuroscience, it does intuitively make sense.

His counterexample of explaining the "brittleness of glass" is intuitively OK with us even if we don't actually personally understand all of the details of the molecular and atomic interactions, because it does not fundamentally challenge our beliefs of who we are. If there's some explanation of consciousness that does challenge our beliefs of who we are, you better believe you're going to need a more comprehensive and complex explanation before you're going to intuitively believe it.
How can Emoji help you with your 2018 tax returns?
The money coming from forfeitures means there is little oversight in how it is being spent.
Using sqlite as our format has worked well for us at dannea. It also means we can have web only documents since sqlite can be embedded in a web page
“Math had always been hard for me.”
How about an English major then?
I'm hopeful the doctrine of panpsychism ends up being true.
I prefer the idea of my laptop equally having a consciousness as me and in some ways it's calming than the contrary possibility. If reality is just one deterministic system, it's reassuring to think of the system being designed for having universal observation and while still predetermined nothing is left out of its role in the stories unraveled.
Logify – One click to log out of all your online accounts
That sort of attack would result in minor damage and it would be quickly fixed. To permanently destroy the transmitter would require blowing it up, and NORAD will make that difficult.
About the Christmas egg and workaround
I'm not sure -- the problem is that the height is determined across the whole row -- as soon as you have one item bigger than others in a row it falls apart.

Some of the auto sizing features of grid make it seem like it could work but I haven't seen too many examples, and rachelandrews saying "it's not built for that" is more than enough to discourage me from trying to hack around it.
Local service for houses or buildings could be provided service with limited power signals under rules for low power devices / FCC Part 15. Yes, you would need hardware to get your satnav (or mobile phone) signals and create the replacements for your LF/MF/HF dependent devices.

You have to ask yourself, "Where is the point of diminishing returns in retaining dependency on signals like WWV / WWVH?"

By the way eLoran will probably be the terrestrial back up for GNSS based position / navigation / timing. Also, if we get to the geopolitical state of satellites being destroyed, there will be a truckload of larger problems to worry about.

Any nation with the hubris to destroy GNSS birds deserves the nukes they suffer in return. Any nation who lets it happen, because the leader is numbnutted, deserves to suffer a breakdown for not being more mature in managing its geopolitical situation.

Fifth Risk indeed.
Book Maxi Cab with Baby Seat Melbourne – Baby Seat Taxi
I personally prefer AMP. it's smoother, cleaner , faster. I know that some in HN community are against AMP (rightly so) but I don't think it's in bad taste for anyone to post a AMP link.
Trump signs legislation to boost quantum computing research with $1.2B
That's true, however it's possible to remove the wal file after closing the database:

> The only safe way to remove a WAL file is to open the database file using one of the sqlite3_open() interfaces then immediately close the database using sqlite3_close().
Really?

My credit union offers free unlimited bill pay to anyone. Certain businesses can do it via a direct deposit, but I can send a set amount of money to ANYONE and they will mail a check on the Nth day of the month.
Machine Learning tutorials for beginners and experts
Pretty sure Facebook is not a company that is taken over by MBAs and marketers that are making this happen.

Rather it's an engineering-first organization, run by an engineer.

Probably a mix of everyone's fault.
Here's the JSfiddle for that demo:

https://jsfiddle.net/cbjzped2/

The problem with that is that the grid rows are determined dynamically:

.item.v2 {
grid-row: span 2;
}
.item.v3 {
grid-row: span 3;
}
.item.v4 {
grid-row: span 4;
}
.item.h2 {
grid-column: span 2;
}

I'd much rather drop in a library like MagicGrid or Masonry and deal with it from there, to be honest, instead of trying to hack grid to do it. I think grid could be extended to handle this kind of design but until it is...
Most things humans like to do are addictive. Games are addictive. Gambling is addictive. Alcohol is addictive. Reading is addictive. Drinking coffee is addictive. Of course they all carry different kinds of risks but trying to make the point that every addiction is a problem to solve is a never ending issue. Humans love addictions and this is how we operate. there are just socially acceptable addictions and the rest.
Well yeah, they basically said that in their original comment. Is it not possible for all major browsers to be walled gardens?
Window antennas work fairly well, but a roof mounted antenna / preamp is far more reliable.
True - Users don’t always know what they want.
I would be very interested in this as well. Especially as someone who makes silly browser extensions they never intend to publish.
Killing zero people versus killing x {x>1} is a very different calculus for an attacker.
Several Netflix UI changes have been pretty anti user. I'm more upset at the way they mask an incomplete catalog by pretending most Hitchcock films or French new wave don't even exist. I'm more upset about auto play. I'm more upset at the retooling of the recommendation engine away from finding gems you didn't know you would like to just finding ways to convince you to watch Netflix owned content.

Adding a badge system? Not wonderful, but basically just brings them up to par with almost anything else on the internet. If we want to oppose badge systems, and maybe we should, we should start with the entire gaming industry and social media.

Netflix has so many other sins that they have raised the bar on my outrage. That in itself is sad...
Sure. They are free to try to influence things but they can always vote with their feet and go for a different employer. In no world is a company obliged to listen to their workers demands, unless the company is clearly breaking the Law. Freedom goes both ways.
>WWV, the oldest continuously operating radio station in the United States, first went on the air from Washington in 1919....
>The station subsequently was moved to Maryland and then to Colorado in 1966....

So, for it to be continuously operating, at some point, there would have been two transmitters operating. I wonder what the logistics of that would be like. Have both operating until it is validated that the 2nd/new one is working, and then shut down the first/old one? Do you just flip the switch on the old one, or do you start to lower the power output of the first one so that equipment picks up the second/new signal before ultimately turning it off. Essentially, it would be similar to running multiple APs on a wi-fi network I'd imagine.

That's the stuff that makes me interested. There's no "maintenance" mode. It's all done live while hot type of stuff.
Ipv6: making it trivially easy for Facebook and Google to track individual devices!

(I certainly understand the problems with ipv4, but ipv6 reveals far too much information in it's current state).
> Consider using all config files as `app.config.js` , you can just return a JS object and done.

It's kind of sad that you seem to think that JavaScript is the only relevant language in existence.
Satellites yes, and mobile phone infrastructure derives time and frequency from GNSS.
They are drivers as others have mentioned. However I disagree with those calling it stupid or a mistake. Since Linux and most of it's drivers are open source, developing Linux together with it's drivers is really not that bad of an idea in my opinion. It allows the API to evolve without making your old hardware stop working. This is definitely not a theoretical concern, a lot of old hardware I had such as scanners never worked beyond Windows XP because the drivers were simply not compatible.

The fact that there is no stable ABI is a sort of downside but also benefit of this model. The ABI can always be improved, but it will often be at the cost of breaking so-called out of tree drivers (Nvidia proprietary, VMware's networking and VM monitor drivers, etc.)
That’s a bit reductive. You may be right, but it would be less facile to say that poor designs can be made by anybody, but that a mismatch between design and business objectives led to bad results. Not all business people are morons, and not all designers are good at design.
Patreon is very likely on mandatory US Holiday today. By the time they read this thread on Wednesday, it will be far too late for them to fend off the mob. They deserve one business day to reply, and they won't have had that until Wednesday at the _earliest_. Be kind.

EDIT: If your reply is "they should reply 24/7/365", ask yourself whether it makes financial sense to staff a support team on Christmas at triple-overtime pay; notice that essentially all US businesses do not staff support on Christmas; and then reconsider your reply.
Ahh yeah dedup is a ram hungry feature. I am hoping the devs find a way to fix that maybe with some novel use of data structures that make it less ram heavy. But it could be relate to the copy on write nature of ZFS and not be possible.
> since sqlite can be embedded in a web page

howso ? ... beyond querying the database server-side ...
Any metric or KPI is going to get gamed in harmful ways if it's prioritized too highly. So the answer is to use A/B testing to make sure you're not regressing on the goals of a design change, and judiciously, to validate whether your change is moving things in the right direction.

But beyond that you have to do the hard slog of mastering the discipline of UX, real, human-centric design, and accept that not everything important is measurable.

We have plenty of examples of how doing real UX instead of playing a numbers game can differentiate your business, Apple has applied this philosophy consistently over many years.

The root of the problem is a "fuck you, market share at all costs" culture that has come to permeate Silicon Valley. And you can argue (somewhat cynically) that this philosophy makes sense in a blue ocean where you have no competition and just need to gobble up people and turn them into cash before someone else does. But I think going forward this mentality may actually become a liability as more humane alternatives to heavily despised products emerge. Many of the current crop of giants seem to have forgotten that a company's most valuable asset is always its brand.
I have definitely quit blender because of being unable to bear the horrible alien ass-backwards UI, same with GIMP. I love learning new things, but when EVERYTHING in software works the opposite way from what you have expected, it's too much.

ZBrush UI is also alien and counterintuitive, but after you learn it it begins making sense and feeling convenient, not so in blender, here I have to fight it for no reason.
People are not hired for roles when a company can afford to. People are hired for roles when company cannot afford not to.
I didn't downvote you, I've never been able to, and wouldn't have even if I could. I just wanted to point out this MB chart is essentially the programmer's version of 'I'm high strung because I'm sagittarian'.
T SNE and UMAP are techniques for dimensionality reduction. Both of them scale pretty well to high dimensionality problems. I think the author downsized the data because he wanted to provide an interactive model. If I were doing this I would probably just leave it as is for either method. The article I linked actually does benchmark on the same dataset though. For the full 70,000 images at 28x28, it claims 87 seconds for UMAP and 1450 for TSNE.
The Quintessential Trekking Kit
Why say the OP obviously didn't consider learning for learning's sake useful? I see nothing obvious there. Asking for practical applications does not logically preclude the OP also appreciating learning for learning's sake, and I see nothing else in their post to imply their stance on it one way or the other. As such I choose the more charitable interpretation.
> I'm more upset about auto play.

What's upsetting about autoplay?? If you are truly "upset" about things netflix does did you ever think maybe you should just not subscribe to it?
Have a riser to recommend?
To me, the biggest problem with YAML is how much unintuitive magic behavior it has with translating values into different types (see unquoted yes/on actually evaluating as boolean true), which makes its increased direct-editability actually a bad thing.
Not quite true.

If you over-build solar by a factor of 3 (above what you'd expect from an energy-only basis), then you can convert it into a 100% constant output baseload plant using about 50 hours of storage, based on a year of hourly sun data for a single site I found. You don't try to store seasonal energy, you over-size the solar panels so there's significant energy production even on cloudy winter days.

Costs less than you might think, considering the spot price for solar cells is like 10 cents per Watt right now (20 cents for panels).

Works in the continental US. Doesn't work in northern Europe because the winter days are too short (too high latitude).
> similar policies they left

> raised property taxes

California property taxes are super low thanks to Proposition 13 (which ironically makes housing less affordable because low tax coastal housing attracts investors like crazy).

So higher property taxes are not what made California unaffordable, if anything it's the opposite.