skysight-inc/HackerNews huggingface dataset:
Show HN: SRMLogger, support to carry out Social Rhythm Metric, needs beta tester
SRMLogger is an iOS app which support to carry out SRM(Social Rhythm Metric).
SRM is an effective method of treatment Emotional disorder (Depression and Bipolar disorder).

SRM is a method which notice to keep regular routine makes to keep remission state of Emotional disorder (Depression and Bipolar disorder).

In SRM, you plan the from 5 (simple edition) to 17 (in-depth edition) actions which becomes a daily life's point .
And you record those time and stimulation (0: case of you're alone, +3: case of you had exciting time with many people) you acted.
And you record the day's feeling at the end of one day.

You can get beta version as below.
https://testflight.apple.com/join/9v3jxVGk
( You also need to install TestFlight app. )

--- Please please please give me feedback! ---

SRMLogger's main function is below.
-The definition which is planning to action
- record daily stimulation, feeling and carried out time of each action
-Graphical representation of a change in feeling

Each data of action plans and a carried out log's record are preserved on the cloud, so even if you change the smart phone, it's possible to continue and keep using it.

If you start app, singup (at first time only), please define action plans on the Plan screen first.
Next, tap the Log screen and record carried out log - tap each action and input carried out time and stimulation(+3 ~ 0).
At the end of one day, record feeling(-5 ~ +5). -. You can change a target date to recording carried out log.
You also can confirm the change in feeling by a chart on the Graph screen. Please utilize such as to show your condition to your doctor easily.

* Attension
That I also consider releasing android edition.
If there is a lot of request.

* Attension2
If you can read Japanese, you can access information of SRMLoggger as below.
https://note.mu/shinchi/n/n8020c9931d34
I found it interesting that Gestapo spy became a spy for the Stasi. Funny how that works.
They used $4.5m worth of equipment. They didn't purchase it just for this test.
My current desktop case (Antec P180 from 2006) has a front cover and a tubular lock that holds the cover shut for transport. Not particularly useful, but tubular locks are at least fun to pick.
I'm responding to someone who's claiming that the schooling was subsidized. I have no idea if that's true. His time in grad school at least would probably have included a lot of grants.
This is a great step forward. Particularly changing the rules a little so that old buckets won’t break after a certain date.

Thank you for taking the time to write this up Jeff.
Around 2007-2010 I worked on the business IM product at Barracuda. We offered an IM server and client software for Windows, Mac, and Linux. We were known for selling security products and had an "in" with the kinds of companies that ought to care about securing their IM usage. Unfortunately, our IM product wasn't very popular and eventually it was canceled. Barracuda had some 15 products at the time, and it made more sense to focus on the popular ones.

Today, Slack is worth more than all of Barracuda.
It would probably be easier to work with customers who can't migrate to make a wildcard for their use-case, e.g. for xyz.evilcorp bucket names, you could just make one *.evilcorp.s3.amazonaws.com cert.
The gateway drug effect is only real in a black market where an actor will likely be pushing many different drugs. If they are all available legally, and the populace is educated about them, the outcome is likely to be better than the contrary, where it's illegal, and taboo.
The amount you'd be suing/arbitrating for would be something small, right? The cost of one ride? They'd probably just choose to give you your money back rather than go through any more involved process.

And keep in mind, it's a lot of hassle to file suit or arbitration. And you need to be able to show in good faith that you tried using reasonable channels to resolve the dispute first, i.e. if you never even contacted customer support with your complaints then that's not good for you.

As an example, I recently had a Lyft to the airport that was priced up front at $80 but was billed at $120 post-arrival. Part of the problem was the airport drop-off zone was under a roof and the GPS signal probably didn't work and the ride kept running for at least 10 minutes after I'd been dropped off. It took all of two minutes to contact customer support and get refunded the extra $40. I'm not going to go to arbitration in this case which costs me two orders of magnitude more effort and has a lower chance of getting my money back, because I would've never even have notified them of the issue prior to escalating too high.
The "conclusions" people draw from that study have been disproven again and again. The study did nothing to prove that a few specimens of certain kinds of house plants are enough to replace an air filter or change.
The services would still be bad services.

I don't see tracking as the problem with Google.

The problem with Google is that it crowds out competition, also that it contributes to a "data smog" environment. The way we would get better services is to pay for them ourselves so we establish a feedback loop such that encourages better services from our point of view (not that of advertisers)
A ransomware attack is holding Baltimore's networks hostage
I'm not the one who claimed he was subsidized. I was responding to someone who made that claim as part of an argument against keeping him in the country.
You are welcome. And now, back to my stay-cation.
GitHub Announce Live Stream for “Latest Release”
GEO smallsats emerging as a best-of-both-worlds approach
Modern programming languages like Rust avoid classic inheritance:

https://doc.rust-lang.org/book/ch17-01-what-is-oo.html
How does he know what users want? I presume by the term "user" he means someone is not one of the authors or who cannot1 themselves modify the software as they wish.

As a user, I do not ever recall being asked what I wanted by anyone at Mozilla nor have I ever heard of any other user being asked.

1 I could modify Firefox but the compile process requires more time and resources than what I consider reasonable.
I'm guessing that the vast majority of buckets with dots in their names are actual domain names that are CNAME'd to S3, not just random strings of characters that happen to contain dots.

In that case, you can create a CloudFront endpoint with your bucket as the origin, and point your domain name at the CloudFront endpoint instead. CloudFront can already handle TLS with arbitrary domain names, so I wouldn't be surprised if this becomes the official recommendation for buckets with dots in their names. You already need to do this anyway if you want to use TLS with your S3-hosted static website, because you're probably not accessing it at a ((sub)sub)subdomain of s3.amazonaws.com.
I think the end of the Chinese speculative bubble is having huge effect in previously crazy hot markets. Vancouver, California, Australia/NZ, HK have all finally come down in price in the last year. Is going to be a hell of a hangover.
That is one subjective question, OO is not that well defined beyond being oriented around objects. Heck, the Treaty of Orlando from 1988 says a lot more about the open definition of OO.
"try and understand underlying motivations whenever you see 'want control of X'" is neat point.

I'd think "if the system satisfies all the desires, people don't need autonomy" and "people need control/power, because systems inevitably fail" are two contrasting viewpoints.
I mean, you can do pure functions. And those pure functions can operate on structs. And, once you're there, it's probably good hygiene to keep all the functions operating on a given struct in one file.

Congrats, you're back to 'encapsulation'! Encapsulation is actually the only important tool in that particular toolkit. We're mortals, we need coping tools to keep programs manageable.
Here's a plot. The peaks are when I was in my apartment. The gap in the middle of February was when I went on vacation.

https://imgur.com/a/HtyhTzo
> Today's luxury apartment is tomorrow's affordable one.

Housing ain’t exactly the same as the used car market. I don’t think there’s such thing as a house that was once going for $1M+ that is now “affordable” unless it’s in a horrible state of disrepair.
Sorry for my snarky tone. I'm dealing with an intrusion of my own right now and your writeup was actually quite helpful, so thanks for doing it.
It can also mean:

- Holding an asset until users become more desperate

- Taking an asset off the market in order to drive up the price of other assets in the category

- Buying an asset to hold, if reliable bonds aren't available in your locale, or there are limits to what assets you can book locally

Not to mention ulterior motives:

- Money laundering

- A vehicle for bribes

Money is quite complicated actually.
yeah shaders really force you to invert your thinking in a good way.

Normally our brains spit out cluttered logic with a bunch of for loops and hash tables but shaders cleave all that away.
There's a book out there that points to my website. I wish they had just mirrored it. My website has been dead for a few months, and some O'Reilly book has a dead link.
Human lifespan could soon pass 100 years thanks to medical tech, says BofA
That’s interesting, but they have 133 badges. Which one did you use?
How about a thought exercise where you replace users with the customers of the Boeing 737 Max flights---the passengers? They don't want control. They want to be flown somewhere without dying.
the funny thing is, technically, if they did legalize cannabis and psilicybin, federally, THEN, it actually would fall under the commerce clause and they could regulate it as they see fit.

checkmate.
There is progress being made on allowing redaction of subdomains in CT logs.

https://tools.ietf.org/id/draft-strad-trans-redaction-01.htm...
Care to explain why? Or what mechanism specifically is contributing to pollution? Seems like "pollution" might need some defining, too.
that's fascinating - I think common bicycles would probably have lots more variants if these hidden administrative rules didn't exist.

I'm reminded of the look of sport motorcycles. The design has been heavily influenced by an almost unknown source - a racing rule from many years ago that said the fairing should not extend forward of the front axle.
If they can root it, then they:

(1) Have physical control of the device

AND

(2) Have the OS-level password.

So, you're pwned anyway, it doesn't matter that your phone is unrootable.
The bans are because they criticise the left, the Chinese probably also calls criticism of themselves "hate speech".
Denver votes to become first U.S. city to decriminalize 'magic mushrooms'
Google is not too evil presently, but nothing is guaranteed and the amount of data they have gives them more power than most nation states. So on principle I've been degoogling. Here are my approaches:

search: duckduckgo
android: copperheados (dead ended, waiting for puri.sm librem 5 on order)
chrome: firefox, containers, uMatrix. Isolated usages of chrome w/o logging in.
gmail: fastmail
youtube: peertube
docs/sheets: local software (libreoffice)
reCaptcha: isolated chrome usage w/o logging in, or I avoid the website and email the webmaster.
fonts: uMatrix block them, I live with the fallback fonts. On my sites I host the fonts locally.
analytics: uMatrix blocks it. I don't need it myself.
maps: OSM or other mapping websites
earth: [never needed it]
sky?: [never needed it], stellarium

I'll know that I'm invisible to them once my family members start getting funeral service advertisements. Unfortunately, they can still see me.
If you're buying super cheap micros you need to learn circuit design and layout. It's not that hard compared to programming, just different.

Below assembly, you need to understand busses, signaling, and maybe some analog circuit design.

I'm very interested in this stuff as well but I haven't gone deep enough to build my own board. It's a whole different game. Still fun but if you're not an assembly programmer with experience in signal processing and circuit design there's a lot to learn.
> I am sure he would relate the experiences relayed in a Holocaust museum

As am I, and as did I at around that age. It's one thing to learn about the Holocaust in a classroom setting (and I remember getting bombarded by it every year; pretty much every class that wasn't categorized as "math" or "elective" would spend what felt like - and probably was - a whole month on the Holocaust, to the point of borderline desensitization). It's another to see it up close and personally in the US Holocaust Memorial Museum; I distinctly remember the wall of shoes, and even thinking back on it right now shakes me harder than the entirety of my in-classroom education.

If you're ever in Washington DC, definitely take the time to visit the USHMM. It's free and open every day except Yom Kippur and Christmas. I wasn't enthused about it beforehand (I was a bratty teenager, and way more interested in the Air & Space Museum), but it ended up being the most memorable part of that trip, and the part I appreciated - and still appreciate - the most.
Can you clarify what 'e' signifies and how it differs from 'd'?
Huh? Decriminalization would be the state declaring that possessing Psilocybin is not illegal under state law. Directing law enforcement to de-prioritize it is not the same thing.
I've always wanted to visit Denver now.
> A cryptographic paper voting system that required advanced math to understand would have the same legitimacy problem as a cryptographic electronic voting system.

No, because it'll still be counted manually by humans. What the cryptographic layer allows you to do is verify that your vote was properly counted or allow a trusted third-party to verify that for you. It doesn't take anything away from the paper voting system but only adds to it. That said, you'd still have to trust the device that generates your tracker, but maybe they've found a way to deal with that.
Why is it that when someone claims to be left of center I know that they’re about to say something right-wing? It’s a transparent attempt to nudge the Overton window by making it seem as though “the center” is even further right than the commentator.
yeah its really awkward when surveys show one distribution of illegal drug use across all races and socioeconomic classes

but then you see a completely different distribution about who gets arrested for it, and it is very disproportionate

all for some edgelord to say "but they commit all the crimes its fact see" and its really like everyone commits crimes, which is a depressing standard from one lens but even more depressing that one group simply doesn't get the privilege of doing illegal things because they'll actually get arrested for it
July 2018 to present look like noise to me in that graph. For what it's worth.
Are apartments also down? You can easily get the situation were expensive homes are down, but cheap apartments are up.
Google already works like this in browsers that support it (most modern ones). The ad is linked to the destination URL with no redirects through any advertiser-controlled domain. A third-party tracking URL can be specified, and it will be pinged in the background using the browser's sendBeacon() function. Any redirects in response to the ping don't affect what webpage the browser displays, so they can't be used to hijack the click.

https://support.google.com/google-ads/answer/7544674?hl=en
I have to correct you.

If you want to do android development, Kotlin

If you want to do multi platform development, Kotlin multi platform

Kotlin mpp is still in beta but it works pretty amazing. I have 1 app in production that shares models/API/database. The UI on Android and iOS is native and platform specific. I highly recommend it.
I worked for Docker under Steve. Steve is a nice guy, but a horrible CEO for any current tech company. When I left Docker I told HR how disappointed I was in his response as a CEO with regard to recent layoffs. He went on and on about how this was about saving money to get to profitability in 2019 and he blamed himself, as he should have for missing. But then he didn't actually take any responsibility for his actions. He didn't take a pay cut, he had just hired his buddy Neil Charney for marketing and that guy should exit stage left right behind Steve. There's lots of leadership at Docker that's bad and Docker is very misdirected internally. For an entire quarter they kept telling us Microsoft was the path forward. Except most native Windows shops aren't doing a ton of containers. And if they are they're moving to Azure because of the credits. Then Microsoft kind of sort of vanished from the push. And it was kind of sort of IoT - but Docker Enterprise doesn't run on ARM and they were so far behind. Docker has bad leadership and nobody is steering the ship towards a destination, unfortunately.

One last tidbit about Steve. Steve made his fortune off Concur being sold to Amex. So Docker, obviously, had to use Concur internally. We were told not to complain about Concur in Slack ever so as Steve would never see it. Well Steve, Concur is a flaming pile of garbage compared to modern alternatives. And that was where Steve was leading Docker. There are a lot of really good people left at Docker. Get rid of Steve, get rid of Steve's buddies, get rid of the sales leadership and circle back up with the product the team they have can build. I think Steve's departure implies he knew he'd never hit his goal of profitability this year. Bon voyage Steve! Hopefully it's not too late for Docker.
It becomes approximately fifo. Oldest or otherwise least desirable housing becomes affordable housing as demand is met with newer more desirable housing being built. But if you're never building new housing, nothing gets pushed out the bottom to become affordable.
I don't think we can dispense with encapsulation and still have OO, though. Sure you can program without it. You can even make good programs without it. You may even be able to make better programs without it :-) However, it won't be OO.

The idea behind OO is to move away from data-centric programming. If I have a system dealing with geometry, I can have a Point object that has an x and y coordinate. However, once I have a Point, I should be trying to make my system so that I no longer access x and y directly. X and y are "encapsulated" in the Point. Collaborators should use the functionality on Point to do what they need to do, rather than trying to pry Point apart and get at the data.

Of course, barely anybody writes "OO" code like that, even if they espouse to follow "encapsulation".

I would argue as well that generic functions do not, in themselves offer an OOP environment. You need one more thing: partially applied functions. If you can create a partially applied function, you can bake in some program state and pass it around, offering functionality on that program state. However, nobody on the outside can access that state. This is the encapsulation necessary for OO.
Universal Basic Income: An Entrepreneur's Perspective
Wouldn't they just turn off the device for 72h?
Upvoting this as I just started following this course myself (archived but all the material
Is still available). The kit is self sufficient and with some basic C programming skills one gets cut their teeth on all relevant real world embedded design methodologies. I am also taking the NAND2TETRIS course in parallel and can now start appreciating the hardware/software interface. Highly recommend that course and the accompanying book.
I don't disagree even a little bit. My position is that this fine is of a scale that has teeth at virtually every company in America. I remain frustrated, however, that people generally believe that an existential fine is called for, since the underlying conduct was not itself existential to Facebook.

If we passed a law outlawing targeted advertisement driven by behavior tracking, and Facebook ignored that law, a $20B fine would be reasonable to me. And I'd be OK with that law!
For a Linux user, you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem.

https://news.ycombinator.com/item?id=8863
> As Kartas holds UN diplomatic immunity, and as Tunisia is a member of the UN, the arrest and detainment is seen as illegal.

This seems like it should be the bigger (though less on topic) deal.
There are, of course, disadvantages to composition. It requires more code than inheritance, as we saw, Ortiz said. It is often more difficult to read the code using composition than it is to read code using inheritance.

I think this is the main disadvantage, at least in languages like C++ and Java; if you want to be dogmatic about the OOP-ism of encapsulation and that stuff, all those "methods that just call another method on the composed sub-object" create lots of bloat that a compiler may or may not be smart enough to inline, but a human certainly would have to deal with --- and that adds overhead when debugging and otherwise maintaining the code. Speaking as someone who really hates such "useless" code, composition (especially sometimes of the nested variety) can get annoying really really quickly ---needing to "thread the call" to the right place through many composed objects just feels more like busywork than accomplishing anything functionally useful. If you inherit, you automatically get the union of the methods (and only when there's name collisions do you need to disambiguate), but inherit too deeply or widely and it gets more difficult to find where the code is.

Of course, none of this is relevant at all to the code I normally write using C, where there is no inheritance and everything is composition, and not being an "OOP purist", I'm perfectly happy with BAR_dosomething(&foo.bar);
I'm not surprised neuroscientists can measure it, I about fell over upon reading that sentence.
Davismlfw knows his stuff. If you're more math than hardware you need to become a hardware guy before messing with these.

As a start I would learn analog circuit design at a basic level. Followed by digital design and layout. At any point in this, pour your mind into a micro datasheet. Atmel or TI are easiest to read. You need to understand this stuff at a pin = signal level and below to really work at that low a level effectively.

This is why arduinos etc are so relatively expensive. It's a ton of work to learn what's needed to design and build these boards + actually program them usefully

Ideally you want to understand power electronics and DSP/signalling at a deep level as well. If you don't know what the difference between level and edge triggered is, for instance, you're going to have a bad time. Gray code, busses, ohms law, network analysis. This is a deep but fulfilling rabbit hole.
Translation: “Don’t take us seriously, as a nation or a military power”.
Props to Amazon for listening to feedback and altering course.
Disney put more than $400m into Vice Media. Now says investment is worthless
No, that's not how their algorithm works. I can't find the link now, but a former employee said that their algorithm is designed to keep you engaged with the site, and that typically involves directing you to more and more extreme versions of the previous videos. For example, if you were to watch a video about mainstream rock and continually follow YouTube's recommendations at the end of the videos, you'd end up at videos about death metal, or other niche genres. It does the same thing with politics; you can start out watching a Bernie Sanders video and end up at videos promoting full on socialism, or watch a video about increasing border security and end up at videos about immigrants ruining the country.
But, in the show, that context is glaringly and completely clear! There are two NSA employees looking at their list of NSA-provided words to determine whether they have cause to spy on a citizen. How could it be more clear?