skysight-inc/HackerNews huggingface dataset:
Realtime monitoring of breathing and heart rate during A/B tests sounds like an adtech engineer's wet dream.
Who did they wrong?
Yes, as a positive, I see that switch(true) will cosmetically align the tests of 'possible value 1' and 'possible value 2'.

But the negative is that you've added the requirement to always remember to include "break;" after each block. The code is prettier but also more fragile. This type of vigilant programmer discipline required to keep the code error-free (especially across multiple programmers) is not easy. Missing "break" statements causing unintended fallthrough are common bugs discussed in many "traps & pitfalls" books/blogs.

The "else if" while not as vertically aligned, includes the invisible "break;" for free.

(Side note that some languages like C#'s and Rust's switch statement don't have fallthrough behavior -- but this article uses PHP which does.)
First time I hear of K3S. Its like Minikube as far as I can see? Is it a drop in replacement?
>Latest methods dont even use JavaScript. Just CSS is enough to identify every device uniquely but you'd need JS to send the data back.
Can you be more specific? I started reading it and I'm actually enjoying reading about writing.
The real advantage of cooking at home is that you don't have to pay yourself any salary, which is the majority of the cost in the case of razor thin margins that eventually will be reached in economies of scale.
Have a read: https://www.ieee-security.org/TC/SP2019/papers/405.pdf
The majority of patents are for things that are essentially obvious and would have been replicated if not publicly released. If you put a bit of hardware or software out then people will reverse engineer it and know how it works pretty soon. If you don't put it out then it will be difficult to get any benefit from it.
Bitcoin is now a religion.
Learn to Code by Building Messy Little Things
I have helped patent my work for my company against bonuses and it's a source of personal shame even though most people I tell this seem to think it's very honorable.
It's not the highest by a long shot, and their process certainly isn't easy (and I agree biased to friendly English-speaking nations), but 33% of the population is still a lot more than the US.

Or do you mean that that number isn't correct somehow? It's based on a UN report, but I have no idea where their data comes from.
That's $3/load+drying. When I worked as a mechanic that is what it cost me to wash work clothes (didn't want them in my washing machine). I did the same thing--it would cost me ~$20 and 2 hours sitting at the laundromat, wash and fold service was 28. Even for someone making minimum wage, $4/hour is pretty poor value for time.
>Behaviour, especially widespread behaviour, is rarely irrational. Despite its reputation Sweden has become surprisingly unpragmatic in recent years.

Err, don't the two statements contradict each other?

(1) especially widespread behaviour, is rarely irrational

(2) Sweden has become surprisingly unpragmatic in recent years
Show HN: Learning Node Representations That Capture Multiple Contexts, WWW 2019
> The advantage of an eutectic alloy is that it’s far easier to get a good-looking joint with it.

Strange how shiny joints were highlighted as opposed to repeatability of automated manufacturing processes and generally lower melting points when compared to alternatives in the same class.

> The application of a conformal coating...can help limit the formation of tin whiskers.

A very misleading statement with more than a few caveats[1].

[1] https://nepp.nasa.gov/whisker/reference/tech_papers/2010-Pan...
How Many Countries Speak German? – Pangeanic Translations
Also hobby projects with abandunt money tend to push for the "Wow"-solution. Not the cheapest possible solution.

Although that would have been solidboosters + spaceguns- and automated in orbit-assembly.
> remove anything higher than seconds resolution of time unless the program actually demonstrates a need for it

As someone working with Web Audio, I wonder if it's even possible to tell if a program "legitimately" needs milli/microseconds timing precision? Typically it'd be running on its own worker/audiolet(?) thread, but I imagine it could be exploited for some nefarious purpose.

Edit: I realized the talk is about WASM on the server, but, who knows, maybe in the future it could also involve audio that needs high-precision timers.
Yes, but capitalism is the system that says "human greed is good" and that basing everything self-interest turns out for "the best".

From Adam Smith: "“It is not from the benevolence of the butcher, the brewer, or the baker that we expect our dinner, but from their regard to their own self-interest."

To Gordon Gecko: https://en.wikipedia.org/wiki/Greed_Is_Good_(disambiguation)

Via countless others...
This is pretty awesome. Thanks for sharing!
This. Obama administration had a lot more googlers than Trump administration has Fox news icons. I still don't why exactly they have ties so deep specifically with Google.
But an automobile is literally horseless. There's no rented horse hidden under layers of abstraction. I guess that "someoneelsesserverful" just doesn't have the same ring to it.
FluidApp: Turn Any Webpage into an App
Carrier Group in Recent UFO Encounters Had New Air Defense Tech
Mistakes Are Forgiven, Hiding Them Is Not
> If Python code were 10x faster

That's a pretty big "if". Unfortunately making python a lot faster is difficult because python is such a dynamic language. The pypy folks have done their best, with a respectable amount of success.
You're right, that's what I meant to say.
Convertible and Safe Notes (2017)
No sure how these guys (https://www.xethru.com/) are doing financially, but they sell development kits for respiration sensors etc.
The $50 Robot: Step-by-Step Robot Tutorial
It's interesting to read their profile[0], submissions[1], and other comments[2]. It certainly provides some context:

[0] https://news.ycombinator.com/user?id=Annatar

[1] https://news.ycombinator.com/submitted?id=Annatar

[2] https://news.ycombinator.com/threads?id=Annatar
Interesting business model: collect useful utilities, document them, and also offer consulting services.

I spent some time looking over a couple Jodd libraries and frameworks, and I felt some nostalgia for my past use of Java. I also always used Java ‘lightly’, avoiding J2EE unless the work really paid well. Now professionally my work is in Python (I have been close to 100% deep learning for about four years), and I use Haskell and Common Lisp for my personal projects - but I still think fondly of Java.
Perhaps investigate used RV ranges--they can be had very reasonably, work on LP or natural gas, and have an oven. Old RVs can be had cheaply, and most of the appliances (especially stove amd fridge) also work great for cabins. A friend here in WY went that route for a small (700 sqft) cabin- found a free RV that needed extensive work, stripped out kitchen appliances, cabinets & bathroom fixtures and scrapped the rest. He was able to recycle the trailer frame into a trailer, so the waste fit into a single dumpster.
If you look more closely, it often makes them thread-unsafe even with the GIL. Take a look some time at what operations the GIL can pre-empt a python thread in the middle of.
Actually, my sister's full-time job is explaining to folks at the end of their cancer journey that there's actually one more thing they can try. It very likely will not help them survive. Not for themselves, but for people that come after. A drug that might not do anything, or it might do a little, or it might be what we've been praying for.

And those Iowa farmers and shopkeepers and schoolteachers at the end of their lives sign the form. An unreasonable population of them. For no reason but to help.
“Warmest regards”.

Wow. F*ck you too.
Yeah, my thought there is make resolution of timers a dependent capability. My ultimate goal is to let users be able to say "no, $APP doesn't need more than second resolution of timers", and if the user is wrong the app just has to deal with it.
Indeed. I'd urge everyone here to pay attention how many sites/companies are dead in the water the next time there is a full blown AWS outage and see if they are as quick to heave the same criticisms at those fortune 500 companies that they are at this two man operation.

What happened w/ Digital Ocean is inexcusable, and has potentially dire consequences for two individuals livlihood. In the immediate aftermath of such an event, focusing on the devs percieved lack of disaster preparedness seems petty.
59 Programs from 34 of the Top Yoga Retreats in India in 2019
Apple Wins Folding Phone Patent
Every cloud company has anti abuse systems that will limit your access to their APIs / take down your machines if abuse is suspected - for example if it looks like you're mining bitcoin. Your prod isn't any different from your staging for them
I think I get what you're saying. It's like patenting the theory of gravity. You're just describing some intrinsic logical fact about this universe.
It's not like you can just tell if you're fit.
I'm not talking about the things we breed. I'm talking about everything we don't exercise control over.
Understand there's a difference between 'greed' and 'self-interest'. One in consuming; the other, enlightened.
Lesser of two evils? That's how I interpreted the comment you replied to, anyway.
Wait, what kind of argument is that? We should antitrust the other players you mention too.
I can't speak to the validity of the conspiracy theory, but there is a stronger basis for it than that:

The writers at the NYT are unionized and consequently derive above-market wages as a result of labor regulations.

Gig economy companies like Uber undermine labor regulations, like the kind that empower unionized workforces like the NYT's.

Still the theory has a pretty flimsy basis of support.
Microsoft managed to kill Windows Phone by itself and take Nokia, and a more mature more viable smartphone OS, down with it. Windows phone was a "viable alternative" by the end, but in the beginning it was uncompetitive without any hindrances.

Also recall that mobile carriers and OEMs were opposed to Android because it would further degrade their ability to create walled gardens. The carriers lost control of apps, not for lack of trying. Imagine what a world that would be.

The FANG succeed largely instead of a carrier-controlled mobile ecosystem.

You may think that replaces one kind of oppression with another, but if you weaken the internet platforms, you strengthen the carriers who are now off the net neutrality leash, and who see 5G as an opportunity to gain control of a lot of what we now enjoy as an open internet.
I really liked https://hyper.sh, they provided hosting for running Docker containers. They handled this same case by having a limit on every account by default. When I requested to increase that limit, they asked about my workload, I explained them briefly, they allowed the limit increase and all was good.
Seems short, especially for low-yield ip like music. 10-20 is probably good
First-Class Continuations: What and Why – Arjun Guha – PLISS 2019
And why exactly should anybody care what you like and don’t like? If you don’t like Uber/Lyft, be my guest and call a taxi.

Nobody is using these services under the impression that the drivers just happen to be going to the same destination. So your semantic quibble is just that.
They do, and have been using it for quite some time. Not only will they execute JS, they will also do AJAX requests and index the content that is returned.

Since the overwhelming majority of the web is still static, I believe links will be fine for the foreseeable future.
An iPhone holds 7.45 Watt hours, so if you fully charge it every day it's ~2.8kWh / year. 20% power loss is 560 Wh/year. US electricity use is ~13 MWh per capita per year (let alone total energy use).

I know it sounds wasteful, but it's very important to triage ways to conserve energy, otherwise you end up with things like the awful "unplug your phone chargers" campaign.
Well, maybe the part about the holes. But even wikipedia mentions newton's cradle! https://en.wikipedia.org/wiki/Electrical_resistivity_and_con...
If you country keep stealing technology eventually you will make it, no worries about that
Yeah, I’ll make that better..
> They filled their OS with spyware and adware

But only after Google, et. al. proved how willing we all are to trade our data for free stuff. This is just the new reality of SaaS, at least as targeted to the general public who now expect free updates for life, isn't it?
>Don't bother

Why not? Theirs has better support behind it and supports everything you listed (RTM api, pagination, async, etc.).
Thie is nice,but laws that clearly define proper use of such tech are missing.
Yeah, this is the most apt comparison, and is barely even a metaphor. Shocking that it's not applied to FB.
That's not a reasonable expectation in my opinion, but a fairly common one.

For example I never understood how people would want to send intimate pictures to someone else (even in the case of on-paper or video phones) and expect them not to share it.
I strongly watching Out of the Present (1997) which chronicles the story.
NSA Deflects Blame for Baltimore Ransomware Attack
Good to see the recent github activity - I will give it another try when I get to a laptop.

The keyboard driven navigation using search to flip between tabs and the tree structured history is interesting. Also, as always, I am happy to see people using Common Lisp for implementing creative ideas! Off topic, but I have been using Common Lisp professionally since 1983 and the first book I ever wrote was a Common Lisp book for Springer Verlag. It has been a fun ride.

Thanks for this project!
> i see algorithms as examples of theorems, and the idea to "patent" a theorem, a mathematical truth, is so foreign!

I'm not defending the patenting of algorithms [1], but what is protected by algorithm patents is not their mathematical truth -- quite the opposite, in fact, as I'll explain -- just as what is protected by mechanical patents is not some physical truth.

You are free to publish a patented algorithm (provided you don't copy your text verbatim from a copyrighted source), teach it, study it, etc. to spread that truth and expand it. What you're not allowed to do without permission from the patent owner is to implement it and run it on a computer; i.e. what is protected is not a truth but a certain human action. This is the same for mechanical inventions, which could be equally said to be "physical truths": a mechanism built in this way would, according to the laws of physics, behave in that particular way etc. Similarly, you are allowed to publish and study that physical truth -- what you're not allowed to do is to build it.

Again, I'm not saying whether this is right or wrong, only pointing out that it is not truth that's protected by patents, but application. In fact, one of the original motivations for patent protection is precisely to encourage people to not keep doscovered truths secret by promising them that profitable applications would be reserved to them for some period of time. So patents were designed to help spread truth in exchange for protecting applications. That this is what patents are intended to do is a fact.

It's fine to object to patents -- there are good arguments both in favor and against -- but completely misunderstanding what patents are and what it is that they protect is not one of them.

[1]: I'm not in principle against that, either, except that in practice few patented algorithms rise to the level of inventiveness that patents are intended to protect.
I will have to ask my coworkers who drive for uber/lyft but my impression is they can turn off the app/take breaks when they want and there is no let up in rides once they turn it back on.

As for the FTE quandary, blame the party who put themselves before the people and pushed the ACA out with a the twenty nine hour rule. That has done more damage to lower income workers than nearly any change before it.

Now if Uber or Lyft penalize drivers for turning the app off that could be regulated but mandating a break time when the use of the app is wholly in the hands of the driver?
It's API is actually terrible and has bugs which mine don't.
k3s is basically a stripped down version of Kubernetes where legacy and alpha features are removed and few components replaced with lighter-weight alternative (e.g. SQLite instead of etcd) where Minikube is a local deployment of full Kubernetes in a VM for development.
How do you figure, when certain features of javascript are supported on some browsers and not others? You've just swapped OS dependence for runtime dependence. JS's solution to this problem? Another layer of abstraction to make the JS cross-browser.

WASM already has this problem, what with 5 or 6 different incompatible runtimes already in existence.
I am a terrible python scriptwriter. Still, I use my own scripts that I have written through trial and error and reading lots of stack overflow. I process about 500 images per day and each one takes about 30 seconds each. Adrian Rosenbrock has been a real lifesaver. I have a machine dedicated to this. I tried using multiprocessing once and could not get it to work. Being able to process in a parallel fashion would be a gamechanger for me.

The beauty of python for someone like me is that I can get my job done without actually having to do it. I free up my own time to leverage more of my creativity and have a multiplicative effect on my productivity.

The reason I bring all of this up is that so many of the examples for advanced libraries I see are geared towards seasoned software engineers. The examples include false arrays of data so that you can "just see" how to use it. I don't think anyone realizes how confusing this is to the guy who is a restaurant manager, or the gal who is a researcher that just needs to know how to make this work for them.

If it's an image, how about putting image = cv2.imread("C:\image.jpg") or whatever?

Anyway, a bit of a rant but there are people who are very thankful that smart people in this world like yourself write libraries we can use to make our daily lives better. Including example code that is stupid simple would make me so much happier.
That's a really interesting point you brought up there. I wanted to come up with the counter-example of Hong Kong, which is already a hyper-dense city. But, as it turns out, bikes do get pushed out there in favour of public transport:

https://www.tripsavvy.com/where-to-rent-and-ride-a-bike-in-h...

Other contemporary* cities should still implement more bike-friendly infrastructure. There's other goals which can be furthered by more people biking. Climate change and public health come to mind.

*we can worry about the problems of hyper-density when it's actually here. For most of the big western cities this is probably at least a few decades out.
On that basis, you shouldn't trust any chip on any piece of hardware out there, ever.

It's also not "me" speaking on authority, I'm merely going by what the actual authorities and responsible people are saying [0]. I mean, this was months ago, still no actual samples of that chip, still no CVE out about any of it.

[0] https://www.theguardian.com/commentisfree/2018/oct/13/tech-g...
Analytics & Ads
And again, you make statements and don't provide any data to back them up. If there's issues with their API which yours doesn't have then describe or list them.

edit: You also conveniently change your argument once I point out the previous one doesn't hold up.
The black voters were saying every black person they know had photo ID and that instituting photo ID requirements would not prevent blacks from voting.
Homeless People in Fremont Living in Makeshift Tree Houses
Fastest Declining Occupations
Only you are comparing the two. Both engineering and humanities can involve critical thinking.
> What does "validating emotions" even mean.

It's a bit of a misnomer for the process of explicitly acknowledging the emotions that someone else might be feeling, trying to understand the causes of that inner feeling, and prioritizing that acknowledgement and understanding over any subsequent claims as to whether that emotion is unjustified.

Saying things like "You're wrong to feel X, because Y!" is corrosive to trust; it leaves our counterparty in doubt as to whether we even care in the least that they felt X in the first place, or might care in the future about any similar situation. "Validating" X means explicitly giving up that option of attacking their feelings in such strong terms - as such, it's a subtle part of day-to-day diplomacy, especially among people who don't trust each other all that much! And the good part is that, once one has achieved that validation, talking effectively about Y only becomes all-the-easier!

Added - do you think that children always trust their parents to pursue something close to their best interest, and to never victimize them? Parent-on-child abuse of various sorts is a thing, too. And the parent-child relationship doesn't even start off with that kind of trust. Many kids routinely engage in what we would regard as e.g. pathological lying and gaslighting, if adults did the same thing; we only get to think of such behavior as humorous because they aren't very good at it. They do generally grow out of such things as their moral development leads them to internalize the notions of affective empathy and, yes, trust.
Patents should be understood as an alternative to trade secret.

The original reason for patents is enabling more information to become a public. When the patent system did not exist, the only way to protect inventions was to keep them secret. Patent is way to separate information from the economic use of the information. Without patents you must protect the information if you want exclusivity.

Imagine that some extremely important and new algorithm is not patented but kept a secret instead. Today it's possible use provide software as a service and keep the algorithm within protected servers.

> cannot grant monopoly of their usage to their discoverers.

Current patent system is too restrictive and should be reformed. Instead of monopoly, it would be better to have mandatory licensing for algorithms for short period. For example 5 years with some fancy auctioning system to discover the correct price.