skysight-inc/HackerNews huggingface dataset:
I think the way is to write libraries for these use-cases. There is already a persistence lib for Kotlin Native called KNArch.db https://github.com/touchlab/knarch.db and it supports Android too.

We are already using libraries to make easier to use background threads (RxJava, RxSwift) so I don't think it's that hard to implement a cross platform lib for that purpose. JetBrains is already trying to tackle the task with Coroutines for Kotlin Native: https://github.com/Kotlin/kotlinx.coroutines/tree/master/nat...
This works at a very, very small scale where you are reading your logs by hand. At this point, you don't even need log levels.

In the real world, you're not going to read your logs unless you're trying to investigate an issue. Instead, you're going to monitor your logs. And this kind of monitoring is where WARN and ERROR become helpful.

WARNs are useful because if you run into a WARN-level issue every now and again, it's no big deal, but if you run into a ton of them, that might indicate a problem that's worth fixing. A single WARN log isn't that useful, but a statistically significant number of WARN logs is a monitorable metric. Being able to detect and address issues after they're serious enough to cause elevated WARNs but before they're serious enough to cause customer impact is worthwhile.

ERRORs are useful because then you have a one-size-fits-all way of monitoring for error conditions, if for example, it's an offline job that doesn't result in a 5xx response. You should still monitor for 5xx responses, pipeline job failures, non-zero exit codes from processes, or whatever your application-level "this didn't end well" signal is. But ERROR logging is also a good metric to have if you want to have multiple log-based metrics all in one place.
I agree that in US, subprime lending crisis and what followed had more impact than 9/11. I was arguing with previous commenter that claimed that financial crisis had more impact globally than 9/11.
Sometimes I wonder, how confident were our ancestors when they thought fire was an element, or when the Egyptians made mummies and hoped they would come back to life. Did they have the same level of confidence as we do today? That the "fundamental values have all been measured to a high degree"?

If that's the case, then we can be as wrong as they were.
Related:

* http://txti.es/

* http://telegra.ph/

* https://txt.fyi/

* https://tgr.am/

* https://verbatim.link/

* https://www.pastery.net/

* http://ix.io/

* https://commentpara.de/
> no consideration all at for how a cyclist is supposed to safely traverse an intersection.

This is because they are designed by non-cyclists who are thinking purely of recreational use: someone casually dawdling their way to work on a sunny day three times a year.

"Oh, well, here of course they will dismount and then use the crosswalk ... that's what I'd do!"
How is this different from something like C2?
numbers please
> If Apple wants to make privacy a selling point for their products, they would no doubt seize the opportunity to do so very loudly.

They have definitely been doing this over the past four or five years and certainly claim they aren't selling your data: https://www.apple.com/privacy/
Very true. I can't tell you how many of my physician colleagues still think that sleep hygiene is a treatment. It's not (https://www.ncbi.nlm.nih.gov/pubmed/17162987). Good CBT-I is different, but we still don't have great answers for the 20% of people it doesn't help!
If the moped's engine is on, it's motorcycle.
> Short of a legally binding statement from Apple stating exactly what information they collect and who they sell it to, then you're just assuming they aren't collecting and selling your data.

Does the GDPR not require this?
Then you don't read right. "Decoding x86 instructions and converting them to the processor's internal microcode ..."
No "jailbreak" required on Android. Just implement the VpnService API. https://github.com/blokadaorg/blokada/blob/master/app/src/ma...
None of those will get you media attention, a successful kickstarter and funding, though.
Congrats on shipping, Laci!
> If the Model X in your example had LIDAR, it would have been able to build up a decently accurate collision model of the world

No it wouldn't. The whole problem with avoiding stationary objects is that they are _everywhere_. Do you really think radar and vision didn't "see" the barrier? Should it have known that it was in it's path? For sure. But that has nothing to do with sensors. Stationary objects are in our paths constantly while we drive, but we tend not to hit them because they are usually only temporarily so. At 80 mph the difference between a parked car being in our path and not, at the stopping distance of over 300 feet, is only a degree or two of wheel turn. We have enough information. Acting on it appropriately every single second of operation is the problem.

> Really? Was the world designed for binocular vision...

Yes. That's why we have road signs, stripes on the road, reflectors, lights on cars, lights hung over the road which light up in different colors to indicate right of way, etc. LIDAR is useless with all of the most important signals on our roads.
GDH ("Gross Domestic Happiness") might be a better single metric to track.
You may disagree how the space was used, but I wanted to point out that it was in fact used. The poster I responded to said tear downs showed it not used. Even the video given as evidence showed the guy taking out the vent as the first step.
Right now I think just Javascript, Python and Go. I'm using prism.js for highlighting and I haven't figured out a smart way to deliver the CSS without bundling all of them.

In the future I'd just like to replace it with server-side highlighting.
> Qwant isn't even that close. The results are absolutely poor across a number of different queries.

Don't know what you tried, I just tried it on a number of searches like:

Logging framework .net

Edward Snowdon (misspelled)

Space shuttle

Not only was it fast but it delivered good results as well.

Will try it next week with some of the stuff Google struggles with now: respecting when I use doublequotes etc.

Edit: the speed difference might be related to the fact that I am in Europe.
In the short term, yes.
You mention "content", which presumably includes digital media–all of which you can totally buy anywhere else and load on your phone, or use an app to purchase on-device. The only thing you can't get from a non-Apple source is software (well, normally, that is. You can still sign apps yourself and sideload them on your device).
I really haven't had much better support on my boot loop 5x... granted I love the 5x's size and form factor.
Yes, and I would have my whole family read it as well. And friends.
>seriously hurt innovative content creators

Any "innovative content creator" that uses large chunks of other people's content, is by definition not innovative and not a creator.

As far as it goes... EU laws typically follow the rules that require express permission with the right to take away that permission.

If you want Google to index you, you are free to put up an explicit permission.
L Brands to Shut Down All Henri Bendel Stores
That has nothing to do with the comment you're responding to.
Hehe, I didn't know that but the page reminded me of of the Arch Linux Rosetta Stone page[1] instantly ;-)

[1]: https://wiki.archlinux.org/index.php/Pacman/Rosetta
That's a very good question. I had plans to add major and minor pentatonic scales until it became clear that they way they are used, especially in rock and other blues based music is a subset of dorian modes. There's some real insight to be gained, especially with regards to harmony, or more practically, what chords you can play against a major or minor pentatonic. It's a lot more than one would think!

So, to answer your question, I'm not going to add pentatonic scales, but I do plan to record a video showing how GD can give you some really cool insight into how they work harmonically.
Laura Day: Practical Intuition

(Inadvertently predicted Sep 11 attack while doing exercises in this book)
It‘s astonishing how the West is chasing an utopia that looks like communist China of the 1950s while China is turning into a modern version of the 1950‘s in the West.

This naive bicycle craze will come to a sudden end when cities grow further and more roads are needed for a functioning infrastructure and logistics. Besides that, electric scooters will quickly replace bicycles anyway.
This seems awfully alarmist. There are a ton of apps that send telemetry to AWS servers in the US, and from there they could easily send the data back to China. Amazon doesn't care. Apple doesn't care about hosting your app's backend on AWS.

Network filtering isn't going to protect your privacy from anyone. If Apple (or Google) were really serious, they'd require app developers to have a privacy policy and have them post a bond in case they violate the policy. (They'd also need to audit every application backend to ensure that it's not sending data back to China.)

Nobody would write apps with this sort of policy in place... so here we are. If you really think the Chinese government is out to get you, which is a very real concern, I would not use any apps on your phone. The app developers do not care about your safety, and neither does Apple.
Care to elaborate for the unenlighted? Constructive discussion can actually help to educate people :)
Well, why should they care? I hear so many hypotheticals about why the privacy invasion is bad, but I have heard very few people give real examples of actual harm.

Most people aren't going to care about things until it effects them in some way.
Do you know of some generalization that instead of just positive and negative ratings would work with real numbers? E.g. rating could be anything between 0 and 1.

Great job btw.
There are some technology fixes available: Autonomous braking that recognizes cyclists should be mandatory, and retrofitted to trucks traveling on city streets. Bikes could also be fitted with cameras that could be used to issue traffic citations for passing too close.
One thing that strikes me as highly weird is x86 code in ARM ELFs. It is usually the other way: code for some random embedded custom almost-RISC in ELFs claiming to be for i386 :)
I've definitely noticed basic stuff like sleep, diet, and exercise help to keep me focused. Exposure to sunlight helps, too. But there are still many days where I don't get much done even when I've got everything else right.
Illegal instruction exception, then randomly mocking the instruction stream?
I'd recommend the Hook Theory "books" (there are two volumes). I put the word book in quotes because they are available as both interactive ebooks, i.e., Kindle & iBook, and mobile applications, i.e., iOS & Android.

The authors do a nice job of introducing basic (and then advanced) music theory concepts with text and audio/video examples using recognizable pop songs. They also have some tools for exploring themes further on their website.

I've read the books a couple times and it has given me the ability to reason about existing songs as well as better compose and improvise with songs myself.
Modern x86, for the past 25 years or so, doesn't implement the instructions directly. There's an internal intermediate, proprietary reduced instruction set. So outwardly it's a cisc processor, with variable length instructions and a lot of different instruction modes, but internally it's not.
Uber drivers unlikely to take advantage of riders, says study
Excellent, excellent point. This is a drum I'm starting to beat more and more as companies start viewing multi-cloud as some sort of ridiculous best practice.
Thanks for this! Was just about to start implementing a logging subsystem myself so the timing is perfect :)
Reddit Insight
Presumably, you're trying to do something that requires a network connection when it prompts you? If that's not a case the behavior is likely a bug.
Well, at least you can easily get free/libre apps (without Chinese spyware) on Android with F-droid[0].

It would be more accurate to say that Google Play sucks.

[0]: https://f-droid.org/
The parent comment never mentioned ARM. Modern x86 CPUs translate instructions to non-x86 internal microcode.
Decision makers should know how to deal with bad news
I'm a consultant who works remotely. I don't miss the office in the slightest. If I can get away with it I don't even go to Manhattan (I live in Queens).
I've always preferred levels of logging rather than these arbitrary names (what's the difference between trace and debug, and which one is lower level?).

Give me three levels of logging, 1, 2, and 3, and then warning, and error. Maybe allow to mix and match them, if this makes sense (the typical nomenclature makes them all mutually exclusive, which is dumb).

There are your five levels.
I was distracted easily in an office, too, but it was different distractions (usually coworkers wanting to talk to me, or the whole room, about some issue that's not important to answer right away). At home, my issue is really self-discipline. I'm the cause of my own distractions when I'm working from home, and this can potentially lead to boundless distraction.

In theory, it's a lot easier for me to stay focused when I'm at home, and many days that is the case, but in practice my lack of discipline and procrastination become problems.
Very cool project, thanks for making this!
Oh, believe me, I work at a "public" university, where even though I have tenure and near-total control over my time (in principle, not so in reality), and work like 60 hours a week, I still have to file a timesheet every month to record that I didn't spend any "sick leave." I know about resenting pointless rules.
That will give you a sequence of decreasing numbers. `a-b` will work just as `a > b`.

If `a-b` returns a negative number, the result will be treated as -1. If the numbers are the same, then you end up with 0, and so on.

I don't know what's faster in that case.
…by ruining the Taptic Engine, if I recall correctly, or by spending thousands of dollars on getting this to work. It's not like Apple just left a hole in that spot out of spite.
This article reminded me of a writing that an ex-colleague of mine did at a previous company: https://nerds.kueski.com/better-logging/

Everybody developer knows that they should include logging in their systems, however how and what to log is not something so well documented.

When you start working in a system (i.e. at a startup) you put the odd log here and there, without too much attention. However, as your system(s) starts growing, you have to start paying attention at your logs' structure and semantics, so that they are more useful in ELK, Sumologic and similar log searching engines.
This is absolutely fantastic. I've lost my guitar teacher's notes where he wrote out the modal scale patterns, and the ones online are not good for developing this kind of intuition. Perfect example of just the right amount of information while still remaining simple to digest. A+
Uber Ditches Controversial Circuitboard Logo
got a keyboard.io as well but gave up on trying to learn typing on ortho.
Apple will blow it. The allure of statism is far too great for these button-down corporate assholes.
Yeah, you actually need winter tires. All season tires are garbage.
Free to Take Freedom
Thank you. I was not familiar with this term. But to be clear:

Semmelweis was a physician in charge of a couple of clinics who documented differences in mortality rates and used this to suggest hand-washing for physicians before germ theory was a thing. He was thrown in an insane asylum and was badly beaten by the guards and soon died as a consequence of the beating.

https://en.wikipedia.org/wiki/Ignaz_Semmelweis
They were both steering into it, but it's a matter of degree. That comment was at least about something specific, and I wouldn't call it fact-free. It has a link to an interesting-sounding documentary, plus I assume the commenter knows something about Newcastle-upon-Tyne.

Your comments went straight down a generic ideological tangent. That's the worst, most tedious stuff. Also, yours were snarky, which makes flamewars much worse. Also, you eventually got personal. All of these are markers of much worse flamewar than what the GP did.
>And is it really wrong to spend a couple of years becoming an expert Plan 9 user just because it doesn't take over the world? I still think it's all (mostly) time well spent.

https://en.wikipedia.org/wiki/Opportunity_cost
Google (YouTube, Search) and LinkedIn are doing that too. Especially if you are also using FireFox. Subtle differences in functionality, things missing here and there. Still I am opting for the web versions with my privacy settings and Privacy Badger, etc. LinkedIn app has a builtin Chromium browser that you can't control and may have custom code additions.
You could use % of people living in an apartment and % of apartments that allow pets as another sanity check.
The best practice that I'm aware of is:

* AT AN INTERSECTION
* Dismount and walk the bike across the cross-walk, as a pedestrian.

IMO we've engineered intersections all wrong to begin with. There shouldn't even be cross-walks there (they should be mid-block dedicated services, placed where pedestrians WANT to cross and __VERY CLEARLY__ marked as existing; not the dinky lights many cities go for (Seattle comes to mind)).

I don't know how to handle bikes and turns at an intersection, separation of level would be far more ideal.
This is great. The formula to determine the best is going to miss the most recent talks if likes/dislikes are what is used.
Contradancing does not require any specific footwork and revolves around dancers flowing through and bonding with eventually all the other dancers in a line. It is an all ages activity (from babies in papooses to dancers pushing 100). It is possible for many with disabilities. Around the US I know contradancers who are completely blind and others who are deaf, are amputees or who are in (athlete style) wheelchairs. Engrained in the subculture is the idea that dancers gently guide other dancers who are drifting off course and they constantly adjust their style and speed to match the needs and preferences of each new dancer they meet.
The Brilliant, Playful, Bloodthirsty Raven
If you're hit by a bus tomorrow, at what point do folks know to migrate off your never-to-be-maintained-again image?

Don't get me wrong -- I'm not trying to discourage you from sharing configs and artifacts that work for you. They're valuable information to publish.

I just get terrified when I see folks regularly deploying images maintained by individuals rather than organizations.
Show HN: How to make side projects work but still can have an enjoyable life
Judging by the name I thought this was a 4chan board.
Sound architecture and open source are both necessary. A good design convinces you it’s intended to do the right thing. Open source allows you to verify that it’s doing the right thing.

True, code audits are rare. But open source software is at least in principle verifiable.
Wait. A coma? What happened? What has the journey back been like?
I don't buy it, they're a provider for the PRISM program.

https://en.wikipedia.org/wiki/PRISM_(surveillance_program)#/...

They put on a big show about unlocking a phone for the FBI and all that, but I'm inclined to think it's all just theater to give people a false sense of security
I agree, but there's plenty of blame to go around ... In particular, I think the "greatest generation" also bears heavy responsibility as they, after all, filled out the ranks of the AARP during the 80s.
My favourite book on music theory is 'Songwriting Secrets of The Beatles' by Dominic Pedler. The title doesn't do it justice. It's a magnificent treatise on music theory and song writing using the Beatles songs as examples. If you're a Beatles fan like me, it's a must read!
When plenty of smart people are doing something you’re not, there’s often a good reason why. Rather than dismiss it as “tribal” did you buy or borrow an iPhone or ask them why?

I’ve used a bunch of Android phones at work and a bunch of iPhones.

If you’re a hacker who wants to mess with their phone, want customisation, or don’t have more money, then an Android makes sense.

Other than that, buy an iPhone. You’ll spend more time getting things done, more things will “just work”, and it’ll break less often and have fewer bugs. The design is great, the aesthetics of the X are wonderful.

And then there’s privacy. Apple are hammering it because (a) Tim Cook sees it as a priority, for rather obvious reasons, and (b) it’s a competitive advantage that Google will never be able to counter unless they stop basing their business on adverts. Good. Let’s hope they hammer it more and more and force google to change. Android in its current spyware form is not a good thing.
Soup.io (microblogging service) is up for sale (German)
And even before then they decoded in microcode. That goes all the way back to the 8086, which had five banks of microcode IIRC.
Would you please tell me what do you mean by baseband here?
Are you referring to base radio frequency?
Thanks.
Are there any chiclet style split keyboards?
Info: What is the program up to. Occasional messages that indicate it is alive and doing what is expected.

Warn: Problems that you know about and wish would not happen, but do anyways. A service call has failed, unexpected input that violates the contract of the method, etc. You may be handling these conditions gracefully and/or returning an error to the caller, but still want to know when they happen. Usually you should have a ticket open in your bug tracker for these.

Error: Problems that you do not know about. When an error is logged, a developer should look at it. Some kind of action should be taken immediately. Put the fire out if it is an emergency. If not an emergency, create a ticket in your bug tracker, then change the level to warn.

I keep warn and info separate so that I can easily grep/filter on one. I often want to just see info messages to know what the status of things are.
This is literally the reason all mobile devices run on some variant of arm or mips, and why umpc's from the 00s never really caught on.
2. bike paths can be used for just about anything that is not a car/motorbike or a pedestrian. Skaters, skate boarders, mopeds and bikes can all share a common separated path way.

I don't agree -- skaters, skate boarders, mopeds and bikes all travel at different speeds and have different styles of locomotion - in particular, skaters and boarders tend to swerve back and forth across the lane, making passing difficult, while a 30mph moped is a hazard to 15mph cyclists -- even 20mph eBikes can be a challenge.
No, the compare function needs to be able to indicate when two values are equal, not just when one is smaller/larger than the other. Otherwise your sort function will return inconsistent results for compare(a, b) and compare(b, a) when both values are equal.
I'm sorry, but I don't even have to read this article, to know this is nothing more than propaganda.

Full Disclosure: I work at the NSA
And an AS/400 was perfectly "mobile" to Arnold S. back in his prime. :-)
Oh London offices do have mice problems. I work at Canary Wharf and last year sat on a trading floor infested with mice.

The mice would come out in the evenings. You'd know because first you'd hear one of the salespeople scream. Then the more macho traders would rush around banging on desks, trying to flush out the by now petrified mouse...

The trading floors also had small cafes ('trader delis'). One day I found a dead mouse on the counter next to the cafe's credit card machine. I took a photo as I knew noone back on the trading floor would believe me.

At that point, the cafe was closed for the day and thoroughly cleaned. The cleaners also started removing all food from people's desks.

The best solution imo would have been cats...