skysight-inc/HackerNews huggingface dataset:
Forgive me if I'm being naive, but what's the alternative to storing the wifi password?

If the lightbulb encrypts the password for storage, it necessarily also stores the decryption. An attacker would just have to take one extra step.

I guess what I'm saying is, doesn't this apply to any device you save any password in? (And don't need a password to log in on reboot).

Edit: Thanks for all the info in the replies!
> it's a tempting argument to not fix that which isn't broken, but ultimately a weak one.

I'm going to have to call shenanigans on this one. Sure, it's an alright attitude to have towards non-essential parts of your life/consumer experience, but imagine if mission critical stuff (like, flight consoles) changed on a regular basis - that would be completely insane.
I normally find that IDE Vim plugins are almost good enough, but not quite. They fall into a kind of uncanny valley where they'll support most of what you need, but that makes the bits that are missing more jarring.

That, plus they often break other functionality. Using a Vim plugin with Eclipse made using the refactoring functionality a lot more fiddly, IIRC.
FWIW, PGHoard (https://github.com/aiven/pghoard/) is another PostgreSQL backup daemon that works with S3, GCS, Azure and Swift.

Implementing a SFTP backend using e.g. paramiko in PGHoard should be pretty simple.
I don't think you deserve downvotes for asking this question.

The technical/non-technical dichotomy is generally too simple. In creative fields, there's a substantial number of users who fall in the middle; technically oriented but not into programming. Think of 3D modeling tools: you need a definite technology-oriented mindset to master the concepts in something like Maya or Blender — yet these users usually steer clear of writing scripts or plugins themselves.

In web development, the field is more muddled because so much of what you might want to create will require custom programming (much more so than in 3D animation). But even on a professional level, there is clear demand for people who are experts in CSS and HTML but not necessarily JavaScript or back-end. Visual tools can be a good entry into this world and can also be very efficient in the hand of freelance designers, although IMO they're quite far off from being useful for professional teams (primarily because the tools are not adaptable to team workflows and tooling, of which there's a veritable jungle in the front-end world).
I mentally screamed "IEEE-754 floating point representation issues!" when I read this. The calculator has code to preserve precision but AFAIK Python doesn't without importing libraries.
I completely agree, what the author of the posts describes is traumatic life events, which often can be confused with clinical depression. Clinical depression is frequently worsened with analytic thinking, as analytic thinking, when depressed, reinforces the depression and doesn't pull you out of it.

In clinical depression your brain chemistry is off in a way that doesn't rebound easily. Just "thinking about solving the problem" doesn't actually work and typically worsens symptoms.

There's a reason why mindfulness and meditation show great results when used to treat reoccurring clinical depression. It's expressly because it allows you to escape analytical thinking and "doing" modes of thought.

I suspect this climbed quickly on hacker news for two reasons. First the type of people that frequent here are intellectual types that believe "thinking about problems" is the best way to solve a problem and depression is just another problem to be solved. The second is the way that HackerNews ranks posts, where an upvoted post with a high/near equal number of comments rockets to the first page.

The blog post is purely anecdotal, lacks any scientific basis, lacks a medical diagnosis, and suggests an oversimplified solution to a complex problem that the author is not an expert on.

In essence it's a crap post promoting a rock climbing book.
> If they raise the base fare, people won't use ridesharing as "too expensive".

So the next startup will introduce an 'only one dollar wherever you go' system. In addition you have to pay a tip that related to the time and distance. If you do not pay (at least...) that proposed tip, you are banned for ever.

Next idea: free shopping ! But we propose a tip for the whole experience of visiting our store, keeping everything stocked, the number of items you took and some other variables.
Because nobody wants to spend time crunching an Excel sheet when you can train a computer to do it for you, automatically, all the time.
Excel, Outlook, FreshBooks, Google Keep (yes, I'm surprised I put a Google product in this list too), Repl.it, Forest Admin, HeidiSQL, Photoshop, Healthcare.gov
The scale one of the posters provides is laughable. Why would they implement having the driver view the tip prior to rating anyway?
> Of course it does

Dunno about France (OP gave no indication he was talking about a period ticket), but in the UK monthly tickets last a month from the time they begin (which is printed on the ticket at time of purchase). Most train tickets I've bought on the continent are undated - if you don't composte them then you could use them time and time again, which would be theft of service.

In the UK we have carnets which must be dated (albeit with a pen rather than a machine) before boarding the train. They give very little discount and users are often accused of fraud.

> Why should the passenger be penalised when there are no working stamping machines in the train station? how is that the passenger problem?

It's the passengers problem as they presumably can't board the train without a valid ticket. I'm not sure how competition or changing ownership would help, what you need are strong laws making the train company liable if it's not there.

Again in the UK we have "penalty fares", which are on the spot "fines" for "honest mistakes". Sadly the same doesn't apply to train companies, when they deny boarding despite a valid ticket, or you get threatened with legal action despite a valid ticket, you have to fight it, but they don't get fined.
Correct me if I'm wrong, but how can they give you a 1-star rating? They don't know if I tipped or not as a rider, right? Isn't it all just added into their pay, no way to tell if a specific rider they had tipped X or Y? Or do they mean cash tips?
Tipping is only “a thing” in the United States, it is in no way a human universal.
I can't beat this for terseness, but I think I could whip up something close (say 15 lines) in Python (readable) or Perl (would be shorter than Python but more readable than linux).

I guess I am more curious about what Knuth did! Did he just comment it a lot for "literate" code?

As always I feel the Python (or Ruby if I could write it) is the sweet spot between being easy to read and easy to write.
The plight of promising an object but not a dimension! :)
Tipping really makes your budget unpredictable. I am travelling there (not for the first time) from a country. What's the current tip rate?
AOT (ahead of time) is your code is turned into machine code before you run it.

JIT (just in time) is your code turning into into machine code as you run it.
Machine code is what your CPU directly processes, so it can be very fast.

AOT languages can use more expensive techniques to make super optimised machine code since the cost is upfront when compiling the code, not when running it. But JIT languages can have features that exploit the fact that machine code is made on the fly.

AOT programming languages: C++, C, Rust

JIT programming languages: C#, Javascript, Java
Islam is mot the only religion which frowns on usury. Christianity for most of its' history condemned the practice, even if in modern times no one bothers to enforce it.

It was quite a contentious topic. St. Anselm, and Thomas Aquinas both condemned the practice, and the only positive (in favor of contemplation) I can find in a 3 minute search were the musings of Cardinal Hostiensis in the 13th century which were never elevated to the level of doctrine.

All in all, it is somewhat ironic that in the western world, a large part of the inner workings of the economy is predicated on practices condemned or otherwise historically shunned by the major 3 religions.

Yes, yes, I know, times change, women can work and vote, slavery ended, and all that, but there's still value in understanding those pesky historical details to keep one in the present from shooting oneself in the foot.

The main gist of Christian theological thinking though is that living on interest charged to others is immoral and sinful. Lending is a practice through which those that can absorb risk do so, with the hope of some reward come success of the venture. Lending only goes foul when the lender places their right to profit ahead of of their obligation to shoulder risk.

My two cents anyway.
Perhaps we go full circle and have predominately female programmers by then.
I don't believe that hardware constraints have anything to do with code quality. Running your code on a microcontroller will require your algorithms to run in a smaller RAM footprint and potentially come with timing requirements, but do not dictate that you write quality code to do so. You can solve those problems with thousands of lines of uncommented assembly efficiently, but that does not mean it is quality code.

I have worked for a significant time in my career as both an embedded engineer as well as a backend engineer, and in general I find that the backend code is way easier to read, maintain, and extend. Embedded code is seldom properly tested and most of it is written in C where people can abuse a library's contracts or the preprocessor. It is not uncommon to find functions that are over a thousand lines in the embedded world. Compare this to Rails where there are a ton of standards, short and succinct functions, and good support for testing.

I guess it depends on your definition of "quality code". If you mean code that is dependable and will do one thing well on one platform for the rest of time, then embedded code could be considered high quality. I would debate that these items have more to do with the binary than the code though. If you mean code that conveys how a program works well to other programmers, is under test, and follows some standard structure, I would pick modern app development as typically being much higher quality.
Charles Schwab CEO on how he tests job candidates by taking them to breakfast
Optimising paid campaigns with a data-driven full funnel marketing approach
Scientists Have Beaten Elon Musk to a Fake News Solution
As consumers, what else are we to do?
Ironically, I think the GP meant exactly what google translate translated, and that your interpretation is wrong. He says that it takes him a long time to translate French and he won't even start if the original text is Chinese or Japanese. :)

Edit: check replies below
It's what people think of when they mean "compiled" in the first place: ahead of time, i.e. before you start the program, as opposed to JIT "just in time" where you compile (and re-compile) parts while other parts are already running.
Read this some years ago but it's still a fascinating story. Having visited DVNP several times, I can certainly attest to the desolation of the landscape but I was there in winter and early spring and I certainly wasn't in areas like these. The pictures actually do the area justice. But to take two small children into such an area during summer with absolutely no preparation is simply criminal. What were these people thinking? It's good the families of the victims received some closure but it goes to show how making simple mistakes can easily lead to disastrous results.
> I feel I would still feel shame in failing to keep my word

Events conspired to prevent you from keeping your word. There's no reason to pay for it emotionally for the rest of your life.

Also, do you think big corporations and CEOs feel shame when using tax loopholes and offshore tax havens to pay less tax than you do?
Makes sense. Those who don't like it can stop using Uber.

And maybe it'll also spare us from SJW's constant moaning about their low income. Let them increase it as much as they can.
It’s the companies that are paying the workers so little that they sustain themselves on tips that need to be fought against. Not leaving tips is not the solution until the workers don’t need the money.
Clearly the truth lies somewhere in between both these statements. Something like:

"SF can't collect the full and accurate amount of property tax in a timely manner from properties that were recently reassessed because their local assessor office is backlogged due to use of old and inefficient software."

Which is basically what this whole article is saying.
Then ridesharing is too expensive. If the only way to make it work is to trick people at seemingly lower prices and then have them feel obligated to make up the difference for the drivers salary.
I'm not a game developer and I don't know the Steam setup very well. I would genuinely love to hear from some 'serious indie game developers' though. Do they really think 30% is fair? Or maybe are they, like me, just accepting it and have no other real alternative (Hobson's Choice)...

Which is not exactly happily handing over 30% of your earnings to Steam/Apple.

Also, as mentioned in other replies, Apple explicitly blocks any other licencing path unless you're one of the big boys and can afford lawyers etc...
Creator of Footpath (http://footpathapp.com) here.

The main point I wanted to reiterate in all of this is not so much that Strava copied Footpath. The issue as I see it is that Strava is being misleading in saying they came up with an idea themselves and can innovate quickly, when in fact the data shows otherwise.

> [Strava] came up with the idea for the mobile version in December, during one of the Strava Jam innovation retreats held each quarter. Company officials loved the idea and fast-tracked the project; Route Builder For Mobile rocketed from concept to public beta test in only two months.
- Bicycling.com

> Still, I think this is the best new feature we’ve seen from Strava in years. Admittedly, it’s about the only new non-security/rebranding feature we’ve seen from Strava in years – so the bar is kinda low. If comments on past posts are any indication – people are waiting for not just one new Strava feature, but a dozen of these. Hopefully this being merely February, we’ll see many more of these types of creative and useful features added to the platform over the course of 2019.
- DCRainmaker.com
Speculative execution and branch prediction make bound-checks much less of a burden. I believe this is actually a whole category of Spectre/Meltdown.
Amazon Project Zero – Empowering brands to drive counterfeits to zero
Setup high performance multi node multi broker kafka cluster for production
which is even weirder, because tipping generally isn't a thing in Australia.
I think his advice is garbage, but it doesn't trivialize depression at all. Depression is an umbrella term, he's speaking honestly about his own experience. It's still "depression".

There's always this sort of reaction anytime someone shares solutions, for severe depression or otherwise, casting it as patronizing and demanding more caveats and tip-toeing. You'd think they'd rather see wallowing in self-pity. In no instance are these meant to reflect personal failures.
I've only heard AOT used when referring to languages that are normally JIT'ed. If this compiles straight to native, why call it AOT?
There is nothing "human nature" about tipping. A significant majority of humanity gets along just fine without tipping.
Introduction to Custom Babel Plugins – Kashyap Mukkamala – Medium
Such compression tricks were also used save money on costly telegraph messages. The telegraph was arguably the first internet device, tying the world together at lightspeed. But wires were expensive and messages consequently so. A standard ten word message cost a workers average day wage. So people used abbreviation tricks seen in texting and twitter. And companies had code word dictionaries where a single word might mean a whole sentence. This saved cost and disquised messages.

In the early days messages were limited by the number of wires, the speed of human operators at both ends and electrical degradation of long wires. 20 bits per second was a good speed. Physicists like Faraday and Maxwell figured out how to lessen degradation. Inventors like Thomas Edison figured out how to multiplex multiple signals on the same wire. And how transmit messages at superhuman speeds with tape players and recorders at both ends.
I might be in the minority but I actually like tipping for good service. It is personally gratifying to help somebody out that might need it and it rewards and encourages better service for everyone.
https://www.maxmind.com/en/geoip-demo
?
You can't know everything at compile time. Runtime checks are witnesses that run at program execution instead of compile time.
Apple self-driving car layoffs give hints to division's direction
What exactly about this is novel? Allowing the user to draw a path and matching it to the nearest path sounds like the most user friendly thing to do on mobile. If I was developing a similar app, I would have done the same without knowing about either of these. I've thought before that this would be a useful feature in Google Maps.
I launch emacs from intelli for text editing.
> To be honest C++-like templates are probably the worst way to do generics.

I don't think this is fair. Any approach to parametric types has to make some very hard trade-offs. C++ sacrificed:

* Fast, modular compilation

* Straightforward error messages

* Low cognitive overhead

In return:

* Templates perform as fast as hand-instantiated types. This is something some other languages like Java definitely cannot claim and is a key requirement for C++.

* Template functions can have complex constraints on their template parameters. Deferring type checking until after instantiation means you can do all sorts of interesting things with the template parameter and as long as all of those operations happen to work with the instantiated type, it's allowed. Most other languages place much more stringent restrictions on the expressiveness of generics. For example, in Java, you can't do "new T()". In C#, you can, but you can't do "new T(...)" with any kind of argument list.

Those are both really valuable features, especially in a language where performance is so critical.
I write Java daily, I haven't seen one in a production environment in... at least recent memory. Most common NPEs I've seen can be resolved by doing two things: 1) for returning a single, nullable value, wrap it in Optional. 2) Never return null collections, always default to an empty collection instead.

More nuanced ones can often be caught by using all args constructors and requiring the constructor values with Objects.requiresNonNull() or similar. Using spring? Don't use field or setter injection, always constructor so the above applies as well. Making the state of your objects largely immutable means their state is more consistent and what is null and when becomes a lot less surprising.

Lastly, write good tests. If you're exhausting the behavior of your system with tests, these things are much less likely to surprise you later.

NPEs are definitely a problem with Java, but they're a very avoidable one as well.

Edit: I don't understand the downvotes. The parent said they're a huge deal and I'm disagreeing because I think they're relatively simple to avoid?
And this is precisely why. If I decide not to tip the driver/waiter/etc... should not be a VICTIM. There should be no morality involved, the person doing the service should be fairly rewarded as a baseline for their work.
> "I don't think the argument itself is Java. I think the argument is that heavy, corporate projects (typically written in Java or C#) can have lots of benefit from IDEs."

I think this for me is the gist of the problem... A lot of corporations prefer these large monolithic codebases, with a thousand different interfaces and abstract classes.

I think this is a mistake in design, and prefer simple applications with simple interfaces. They are easy to maintain, and are more reliable as their are less moving pieces.

I'd rather write a small app/service in python, c, JavaScript than work in some horrifically gargantuan and abstract Java code base.

This is a problem with enterprise in general, they'd rather incur technical debt to stuff in new features into legacy monoliths, instead of designing small applications and services with simple interfaces.
A side effect of coming out with these accusations is that people (like me) are learning about the existence of Footpath. I've never been into the competitive side of Strava, but Footpath looks like a useful app.
In the thread it shows that passengers that tipped are given a green check next to their ride.

https://uberpeople.net/threads/uber-tipping.313017/post-4777...
That's the situation in a nutshell. You either burn up VC money or you exploit drivers (or a combination of the two).
Curious, did webflow clone this project and turn it into a business? UI is very similar.
I know this is (maybe) a little nit-picky, but what exactly does "blazingly fast" mean here? The README compares its performance in benchmarks against Lua, but Lua is not necessarily "blazingly fast" either when compared to outputs from C, C++, Rust, etc.

It's a term I hear everywhere (especially in the JS world), but I don't really understand what it implies.
I find you sarcasm insulting. Every language has flaws and I never said C# or Java were better. I'm saying that the fact this exists points to something needed in the language.

Besides the fact that generics is a up and coming feature in go 2 basically proves my point.
May I ask what your cultural background is?

"Choice" is a funny concept. There are cultures that made people choose between Seppuku and shame, with Seppuku being the honorable "choice". You seem to be accepting and even advocating a financial version of that "choice".

It's not quite as common these days, and for the best IMO.
I have no idea how widely known footpath was before this "incident", but they certainly got exposure.

E.g. me, I never heard of footpath before, the first time I stumbled over this draw&match method of route planning was with the release of the Sigma Rox 12 bike GPS, apparently long after footpath implemented it and only few months earlier than the Strava version.
Uber started by saying the tip was included in the fare. It was part of their marketing that nothing else was needed besides the transaction.
Ask HN: How to analyse the traffic from a single Android app?
Android 8 made it a little more difficult to analyse the traffic for a particular app. I am working on someone else application and have noticed crazy amounts of network traffic while debugging the application (fyi its React-Native) and would like to figure out what exactly it causing the big jumps in net activity.
Creator of Footpath here. I didn't know this was possible either until I looked up the suspicious IP from the logs: https://www.ip2location.com/demo/12.131.20.242
Change the culture with tools like the $15 minimum wage for everyone, including wait staff. That would make tipping less necessary, if not irrelevant. Other countries manage to do it with no tips because they pay better.
I think you think I am saying the opposite of what I think I am saying.
independently

in·de·pend·ent·ly

/ˌindəˈpendəntlē/

adverb

1.
in a way that is free from outside control or influence.

2.
without outside help; unaided.
BLE and ePaper display and Coin cell battery