skysight-inc/HackerNews huggingface dataset:
Recently had to use Apps script to count the number of files in a number of Google drives folder, it was pretty annoying.

The Drive API doesn't actually expose that information at all so I had to loop through the files with a counter to get the information I needed, but that was so inefficient that I got timeout errors for anything but the smallest of folders.

Unfortunately I had to resort to their Python API which was totally awful in its own way, but at least I didn't have to worry about timeout errors and could get the job done.

Google apps script is probably good for doing stuff in spreadsheets or documents, but its use as an API across Google's platform really needs some work.
Brazil's Lula spends first night in jail amid fight for freedom
OS X went the skeuomorphic route as well for many icons, but by then we could accurately represent objects on screen, at least.
10 Essential Features of a Cloud Backup Service
Plan a Perfect Trip in 8 Easy Steps
5 Step Beginners’ Guide to Starting a Website
I have been waiting for ninth generation Intel laptops. So far just Asus is shipping a laptop with an Intel i9 6-core 12-thread CPU. I am hoping beyond hope that Apple leapfrogs to i9 at the June 2018 dev conference instead of the ancient i5 technology.
And since I can't reply to the parent directly, I'll just say that there is no international law that covers this. None, zilch, zero....so anybody says that you're somehow beholden to GDPR when you have 0 presence in the EU is either lying or ignorant of the reality.
It's interesting that I posted a source for this 5 minutes before you posted this comment.
AutoIT is similar to this.
Ha. I stopped doing this in 1993. I only had one person every complain, a cashier at CompUSA in 1994-ish. He wouldn't accept it until I signed the back of the card so I wrote "Please check ID" instead of signing it. He was fine with that.
The way I wish a movie should be is a utopia, but to make a movie, to make it, is not utopia.

Jean-Luc Goddard
https://twitter.com/shanselman/status/983200047541006347
Presumably because that's already SOP. It sounds like the query was supposed to run against a development or staging DB, but an environment variable that the dev wasn't aware of caused it to run against prod instead.
It's like simulated annealing over the gene space.
> ... the two biggest problems in game dev are building what people want and R&D.

What's even harder again about point one, building something people want, is this is a purely creative industry so it's REALLY hard to know what people want.

Making a new coffee machine would involve simple market research to understand what people want, but painting a picture is a different story entirely!
Markovify –  a simple, extensible Markov chain generator
A 1985 ZX Spectrum with 48K RAM that connects to a CRT TV (from the 90s) and a cassette player (from the 80s).
Show HN: redisearch-rb – A simple Ruby client for RediSearch
Just did the same. With uBlock and Ghostery on I get 3 trackers. With them off I get 22 trackers. I think maybe if you let one's script run it then loads a bunch of others.
> see many of the sites you use go out of business or have their ability to operate severely diminished.

Or they could run quality ads in a non privacy-invasive manner (just like print ads) and be happy.

> This is why GDPR is catastrophic for ad-based EU business.

Running businesses based on shoving shit down people's throats isn't really a smart move to begin with so they should've seen it coming, and there were warning signs already, first with people just ignoring the ads (because there are so many), then with ad blockers, and now finally with the law cracking down on it. I personally welcome GDPR and can't wait to see it take effect.
Great writeup.

This is the third case I'm aware of where CI deleted the production database. Others are GitHub (back in 2010: https://blog.github.com/2010-11-15-today-s-outage/) and LivingSocial.
I'd be happy if the text didn't change until it was done. Many of the machines I encounter change the "Wait, don't remove card" text location three or four times, each time you think it is done.
Amazing! I'm one of the main contributors to the Three.JS math library and I am always looking for speed improvements.

Can you help me understand the benchmarks because there is some weirdness in them. Usually I can make sense of JS benchmarks, either it is memory allocations, deoptimization, function overhead, implicit conversions, etc.

Specifically these results:

https://maierfelix.github.io/glmw/mat4/

mat4.create:
GLM: 0.3000000142492354ms
GLMW: 0.2999999560415745ms

mat4.copy:
GLM: 4.399999976158142ms
GLMW: 0.5000000237487257ms

mat4.set:
GLM: 6.999999983236194ms
GLMW: 6.800000031944364ms

mat4.identity:
GLM: 2.800000016577542ms
GLMW: 0.4000000189989805ms

Each of the above operations appears to be a series of 16 assignments in order, and some of the above have an additional allocation first.

These options sometimes it takes the same amount of time in JS and WA and sometimes WA is way faster. Any idea as to why?

The one that is weirdest above is that mat4.create is faster than mat4.identity, but mat4.create does more, specifically an allocation? I am struggling to make a mental model of why that is?

Also why is perspective so slow in WA:

mat4.perspective:
GLM: 4.799999995157123ms
GLMW: 4.499999980907887ms

It is a tiny bit of math, with a tan and then 16 assignments. Is tan that slow?

I sort of think there is something wrong with the benchmarking.
Yes... that's what I said... finding new treatments is like finding needles in a haystack, and science is the magnet.

When it comes to traditional medicine, most of the haystack is really just hay. Historical trial and error told people what not to do, but it did not distinguish between ineffective and successful treatment due to generally high mortality rates and lack of rigorous testing.

If you have time, browse through ancient western medicine - you will notice almost none of it passed scientific rigor.
Ever had an intelligent conversation with one?
but I do feel this sort of thing is hypocritical

Wait ‘til you find out where the Graun is based for tax purposes...

Left-wing-ness is just a product that they sell. They don’t believe in it anymore than everyone in McDonald’s head office eats Big Macs every day...
Ah, that makes sense, didn’t know it, thanks.

Always saw people moving the menus around as the big differentiating factor. Never thought it would first pop under the cursor.
A video of Zach Holman talking about dropping DB in production twice where they ran CI over production credentials : https://www.youtube.com/watch?v=AwXhckRN6Mc#t=5m50s

Great video overall about how to handle these situations
The web existed for many years without pervasive advertising and tracking.

To me the obvious alternative is a return to generally targeted ads as are found on television or in print publications. They are targeted to general audience for the program/publication, and can be served inline with the main content (and therefore not blocked) and require no tracking.
How many years after Android permissions changed for the better will users who have never owned an Android phone complain about a problem that no longer exist.
No much unfortunately.
I'm not very familiar with the React ecosystem but I thought the entire point was letting the client-side handle rendering and passing structured data via API calls? renderToString() sounds like it's doing what every scripting language and templating framework has been doing for the past 20 years?
New York Times, Washington Post, Boston Globe?

Those are three publications that have sent shockwaves around the world with their privately-funded investigative journalism.
You still have copyright protecting your code. All a patent does is let you have a lot of time and money for an option to sue some types of companies trying to clone your idea. But companies are all about the execution. There's clones of every successful company, patents didn't change that. But most fail. It was easy to clone Facebook the website way back when or Snapchat the app. Good luck beating them at their own game though.

For any startups here thinking patents are a good use of their time - think again.
You need to compare it to its predecessor the 940MX. Its a huge step up from that.
Doesn't the NSA and other intelligence agencies collect detailed data on everyone? They also seem to have backdoors into a lot of centralized systems.

Nobody seems to care that government organizations sit outside of regulation and tell us we need to regulate everyone else. It's simply a power play.
The best content - done by passionate individuals for no monetary reasons - will stay. The good content will be kept afloat by donations. The usual corporate content will be written off as "marketing expense". The ad-supported worthless crap will disappear.

The Internet would become leaner, but I can't see how it would not also become better.
> Maybe because developers do operations for the production system?

Which is probably why they dropped the prod db.
This opens Spotlight, though, instead of just using Finder.
Surely you can do internet banking transfer to the recipient's bank? In New Zealand, we didn't used to have many credit cards so that's how you'd pay your bills, buy a house, pay small businesses, or just about anything that can wait a day.
Do you find any that only take check and have to be paid in a timely fashion (like in a line at a store) to complete a transaction?

Last time I changed banks (about 6 years ago) I decided to experiment and not order any checks. Every person I've encountered who needs a check will wait for them, so I just add them to bill pay and have the bank deal with printing and mailing them a check. So far I haven't run into a situation where I was cursing myself for not having actual physical checks.
"Mikiah Westbrooks, the owner of Brix, a wine bar in Detroit, said she worried that skipping signatures will affect her workers' tips."

May tips disappear next.
> it's also the case that there are no border checks within the Schengen area

While this was true before, it's increasingly not like that anymore. The border between Spain-France has historically been easy to pass without proper checks, they are checking more and more individuals crossing the border. As I've been told, the increase is happening across other borders (in EU/Schengen) as well.

While sometimes they don't check at all, it's possible they do random controls. So keep in mind that you might not be able to pass the border without proper identification.
>So if you're only occasionally soldering up a circuit board, you stay well ventilated, and you keep the solder temperature below 450°C (my soldering iron is usually set around 280°C - 300°C) then the risk seems pretty negligible.

I think the danger is in touching the lead directly; it's a soft metal and comes off on your hands to a certain extent, and my understanding is that some of the dross can end up as lead dust.

According to the NIOSH, just washing with soap is often not effective for removing lead from your hands,

https://www.cdc.gov/niosh/topics/lead/safe.html

>I should still give unleaded solder another shot, though - maybe it's improved since last time I tried it.

I'm starting to look into different formulations; I'd start with the SAC305 formulation. It's like 3.5% silver and slightly more expensive, but still cheap. and widely available.

Not that I'm any good at soldering myself.
"Very close to native" means "much more efficient than JS", because JS is nowhere near native.

(Have we really gone so far that people hear "native" and think of the browser? Like the web browser is the machine we target, and not the metal box the end user purchased?)
> Yep... I understand that they aren't doing it for the primary purpose of "surveillance" or "tracking" -- the primary intention is advertising and analytics, of course -- but I do feel this sort of thing is hypocritical.

They might not be doing it for that purpose. They only help collect data in exchange for better ad service. The data lives on, however, and someone else uses it for surveillance and tracking.
Assuming this is used widely for there to be enough reports. I expect this to only be used sparingly so I'd be surprised if there is even a single report of this; as the targeted people will mostly have no idea this is even possible.
> You will be denied but without knowing why, with no clues on how to fix this.

I agree with you that things like DHS scores are problematic because they are invisible.

However, even if you consider your "credit score" to be a hidden system in the US, the usage of that system is not hidden. For example, people in the US have started fighting back against prospective employers using your credit score to deny you employment. In the Chinese system, this is positively encouraged.

Personally, I hope China does this more and more and more. The more of this that China implements, the less we have to worry about them on the world stage.
We have publicly funded broadcasters in most EU countries. The ad-supported news sites, on the other hand, are generally doing more harm than good.

Why am I not surprised that a European is saying that the government-backed "broadcaster" are all so good, and evil private American new sites are bad.

this pretty much sums up the real agenda behind GDPR.

It would be better to call the bluff of these EUrocrats and see what they'll really do. Other countries can retaliate.
I thought I'd see Hawk Sugano's system mentioned here, but haven't so I'll share the link: http://pileofindexcards.org/

What's nice about his index card system is the simple taxonomy for organization, which can be expanded upon for specific projects or just carrying on day-to-day. Of course these can be modified, but I've found the four groups he proposes (Record, Discovery, GTD/to-do, Citation) work well for everyday capturing of ideas big and small.

This, and Marc Andreesen's note to make a short to-do list nightly for the next day are my main uses for index cards. https://pmarchive.com/guide_to_personal_productivity.html
But unless you work at the VPN provider you don't have enough information to make that choice. You can't tell from the outside whether the VPN provider is logging or not.
If you aren't marketable and know no other languages, then yes, you should probably start in something more mainstream. Just seems more time efficient.

If you are, then it doesn't matter. Learn a new thing and try it out.
Syaanh – home maintenance
Least privileged access isn't necessarily the antithesis of devops.

You could argue that dev-ops model include automation for operations on production systems, with direct access to production systems limited to a reduced set of staff. Developers can create the change-sets to modify infrastructure, but those change sets are reviewed, validated, tested, and then executed on production via CI/CD Automation.

Infrastructure as Code, and Immutable Infrastructure lends itself well to that approach.
> a tree view to navigate the directory structure is missing in Finder

I'm not sure I understand. Doesn't Finder have a tree view?
That's a very strange link shortener. Please don't submit shortened URLs. They break the web.

https://lwn.net/Articles/750152/
It's an allegation from 2004. There's a massive hit campaign going on with Zuck and facebook, likely because he publicly considered running for president.
No Linux support?
What's GDPR?
In recent weeks the Guardian has been running a series of articles about privacy online. The articles have been good and rare in that they included original journalism.

I think that calling the newspaper out for the number of trackers is fair since it shows a mismatch between the behaviour of the company and the tone of the articles.
I haven't signed a credit card in about a decade. I sign the receipts, but not the cards. That's got to be thousands of transactions by now. No one cares.
It does give you the ability to begin trading within the EEU and thus have established trade/consulting/income links. Which means when applying for a trade/consulting/income related visa you can demonstrate a tax compliant income stream. And you can get an estonian bank account, and its an ID card. And cool.
I ran it on an AMD k6-3-based PC I put together back in the day. It wasn't all that particular about hardware.

The very early releases of NeXTStep on Intel had limited hardware support, but by NS 3.3 it was pretty easy to configure a PC for it.

Building a PC for it now using modern hardware, might be difficult again. I don't know.
Rust and Go are not in the same category of language. Go is garbage collected; Rust is not.

The value of a language is not defined by how experience with it looks on a resume. If that is your only concern, of course you won't find Rust worthwhile (yet).
What's the cheapest domains to buy and hold? I'm not into investing just building crazy stuff and putting it out there for giggles. So I'm open to any domain that's wins out as the cheapest.
Oh I wasn't trying to say it is spaghetti because NodeJS :-). I was saying it might be spaghetti because thats how code sometime is.
Postgres has credentials in the URL, so I am sure they already had different credentials, but the URL was set.
Go is probably going to stay. Last when I looked at job boards, I saw a fair number of Go keywords
Well that is amazing.
If what you say is true -- on top of that, your ISP can also (in theory) fingerprint you as someone who is avoiding their DNS servers.
>I never sign anything the same way twice, and my signature is always just a random scribble.

Is that legal? o.O
I haven't been in NY for over 10 years. When I was there, the subway was fantastic. On time, cheap and clean (ish)

Has there been some very rapid drop in service? is this something which forseeably could get better soon, or is it a one-way hole without a huge capital investment?
I don’t think the EU has thought it through. I work in a municipality in Denmark, one of the most digitized public sectors in the EU and we’re not anywhere close to being ready.

None of the hundreds of suppliers we use are truly ready, and how would they be? It took 45 years to build this tech, you can’t just replace the innards in a few years. Estonia is the only country that is close to ready, and that’s mostly because they’ve build their entire system with a focus on sharing and securing data. Nobody else has anything close to it.

It’ll be interesting to see how this plays out in the courts. I mean, keeping privacy data safe should be an important concern, but do we really want to close hospitals and schools because we can’t afford to pay the fines when it fails?
Three Useful Python Code Patterns
Check this great talk:
https://youtu.be/izQFMADw70w
Funnily enough I sold a house from a foreign country at the end of last year, and while I found the process annoying (there are always problems with buying/selling property), the number of signatures wasn't a problem.

One of the problems I came across was the number of things I had to send through the postal system. Apparently scanned documents (signed) weren't good, and using a fax machine wasn't an option either.

So I had to print forms, sign them, and then mail them - always with tight deadlines. Luckily only one piece of mail was lost en route, and it was skipped in the end.

(I also had to mail back the physical bundle of title-deeds, something I was told previously was all electronic these days. Fascinating documents though, I remember when we paid off the property we received them and there are copies of each sale contract/price details since the place was built in around 1890. First sale was for £400, then the next for £1200, and every 1, 5, 20 years it would sell for more. Went for £162,500 when I sold it. That's a huge jump from the starting price!)
It went Motorola to Intel to HP PA-RISC and Sun SPARC. You could click checkboxes in the IDE and your app would compile into a 4-way fat binary.

Some non-GUI bits for "Portable Distributed Objects" servers were apparently available on Alpha.
Except, it's not optimized if I never wanted it in the first place.

And by the way, I already pay over $150 for monthly internet, when I combine phone and cable/fiber, and I pay for about ten premium services including The New York Times, HBO, Hulu, iTunes, Amazon, Youtube/Google and Netflix, and I still see ads, so what's going on here? What does an ad-free life actually cost?

Tell me, I want to know. Or was that simply an unrealistic option never actually on the table to begin with?
>> ... the two biggest problems in game dev are building what people want and R&D.

Surely that's where getting a production quality level one helps? You really need to know that as early as possible.

You must resist the Siren's Song of rough prototypes.
They could be great gameplay but awful to look at. Or vice versa.
Go to Preferences in the Finder and change the setting under "New Finder windows show:" to do something else (such as show your Home directory).
I use Google Apps Script to archive old, unread emails in a label periodically: https://gist.github.com/saagarjha/d8657a5cee921856186cd12180.... I find this handy to clear out a couple of labels that invariably accumulate a junk; for example, I use this on all my mailing list subscriptions. One thing that's really annoying is that Google Apps Script is really eager to delete log entries for some reason, so the logging message I put for checking progress (when time runs out) doesn't ever show up in the logs because it's always likely that the logs were cleared out before I could read them.

Just for fun, I also have an script to post XKCD to a Slack channel: https://gist.github.com/saagarjha/ea067aff9674e8382c15d3b7de.... It's probably not the intended use, but it's free and runs periodically!
Where do you put your non-investment money then?
> Knowing X language isn't what makes a good developer, it's knowing some sufficiently multi-paradigm langauge ...

True enough as far as it goes. But in practical terms, as platforms have multiplied in number and increased in surface area, being a useful and/or marketable developer means in-depth knowledge of specific platforms. It's much harder to spin up quickly on a platform than a mere language. However well you know java, you're not going to be a useful Android programmer without a decent understanding of the gamut of Activities, Fragments, dexing, etc. Cocoa is far more the key to iOS development than is Swift (or Objective-C). Go/Javascript/Java (etc) knowledge doesn't get you more 1/10th of the way to productivity with AWS.

All this is making it increasingly difficult to be a convincing generalist.
want.

Though I'm not sure how well it'll work with "snacking"...
May a livable wage working an industry job happen right before.
Same here in the east bay, driving to work in Emeryville takes 15-25 minutes and then add another 5-10min to park, even in the garage. If I bike to work its less than 25, usually around 20 and I can leave my bike in the small garage in the basement or just take it up to my office. Takes me longer to get home since have to climb back up 300ft to my place in Piedmont. The bus is pointless and would take about 20min of walking + the time on the bus.
In Finder preferences, you can set the default finder view to somethng other than Recents. Anecdotally, i’ve never experienced any of the other issues in 15 years of using macOS. YMMV i guess.
It amazes me that one person thinks the environment they live in is how the entire rest of the world lives too.
I see that you used a custom benchmarking library. I think that is the problem and why I can not make sense of the results. I suggest https://benchmarkjs.com/ It is what we use for Three.JS benchmarking.
I acknowledge your sarcasm, but indeed they rarely do. It's happened to me only once, and it was fairly easy to report them to the TLC.
Anthem.com Login: Anthem Blue Cross Medicare and Health Insurance Plans
Until Google finally matches the permission model that iOS has had for years, and until the changes roll out to the majority of users instead of the few that own Pixel phones?