skysight-inc/HackerNews huggingface dataset:
Brightstar is probably one of the major US players you could look at. Take a look at their relationship with T-Mobile - they handle the trade-in piece (and reverse logistics) which is revenue generating for T-Mobile. With experience the trade-in provider can offer a fixed rate per sku / consumer reported quality once it has a sense of statistical quality of items and screening procedures for store trade-ins.

This actually looks more like a situation where apple had already assessed as not reselable under their policies - so these were perhaps all for recycling only?
Yes I do (well, I rebase, not squash blindly), but I do read the commit history. Or well, not so much the complete history, but I do go looking for which commit introduced a particular line, what message went with that change, and what else changed with it.

Of course, that only works after you leave proper commits. The reason people don't do that is because you only look at your commit history if you've kept it useful, but if you've never looked at your commit history because it's not, you don't know the benefits of keeping it useful.
My Dating App's Ethical Dilemma
I use a Kindle but just read .mobi files I put on it via Calibre.
My remote dev team adopted asynchronous development
PS5 will use the X button to confirm by default for all regions, including Japan
HN isn't a specific column to itself, but it is being counted and rolled up into one along with other sites.
Thanks to the complexity of how components integrate, even seemingly disjointed components, their commits are going to matter when it comes to troubleshooting an issue.

This gets a bit more murkey with mono-repos, but even microservices can combine to create complex production issues.
It will easily be overturned.

Despite youtube conservatives saying otherwise there is countless examples of precedent.
I see this as a safety measure just to ensure driver isn’t distracted or sleeping for the car to alert.
Class action suits discourage widespread or egregious bad behavior by the powerful.

Yes, the lawyers rake in the money and the victims get virtually nothing but it created a market-driven method of enforcing rules; a
immune to political whims.

Sadly arbitration clauses have become the norm, but I don’t know if they have merit with EULAs.

But I would like to see class action suits make a come-back.
Why every developer needs a cloud server or more?
If that's what you want, there are apps on android that emulate an HID profile bluetooth device. It does not rely on software running on the computer.

The receiver device must have Bluetooth 4.0 and:

Android 4.4 or higher,
Apple iOS 9 or higher (only Keyboard supported),
Windows 8 or higher,
Windows Phone 8.1 Update 2 or higher or Chromebook Chrome OS

https://play.google.com/store/apps/details?id=io.appground.b...
It already does set new records with cold snaps without the requirement to electrically heat [1].

[1]https://edmonton.ctvnews.ca/alberta-sets-new-record-for-peak...
Same here, I especially love `git rebase -i <base>` it opens an editor and I have an option to edit specific commits, reword the commit, squash multiple commits together (don't use this one often) or do fixup (which basically merges commit to the previous one)
Unfortunately the Android Image distributed with Anbox is broken and can't play media.
> I would design it as a Web of Apps rather than the Web of Docs.

These are two significantly different use cases. Maybe there are more? Like, apps can be split further into classes?

> Lots of current issues are because it started as a Web of Docs, yet what people wanted was the Web of Apps.

Disagree, lots of people today point out that the grass was greener when we had the Web of Docs, and want that state back.

> It would also be based on UDP rather than TCP.

TCP is just a rather common case - lots of cases want to have guarantees with data. We probably want to be able to use UDP as well, don't we go towards that with WebRTC?

> There will be no cookies, Local Storage covers it.

So it wouldn't work outside of the session? We'll need to keep entering passwords?..

I think some Internet things could be improved as well, not only Web.
I don't think that's quite clear in a capitalist world though. Good faces and whole industries around good faces have led to billions and billions of "wealth" being created through direct careers and indirect revenue streams like modeling, etc. ( The "utility" of those existing is a different animal but goes too far from the main thread)
Keys is too powerful, let me know what you think
This is stupid. Im only in chapter 1 and there are major flaws.

eg.

function fullName(data) {
return data.firstName + " " + data.lastName;
}

This somehow suggests that firstname and lastname are always stored under the exact same property names and exact same depth of the object.

In practice this will just result in coders making duplicated functions with different names.

eg: fullNameUsing_firstName_lastName , fullNameFromCustomer , fullNameContactPerson
Not necessarily, but it does make it more likely; that’s why I wrote “may”. If the design has skirts to generate more downforce, designers will decrease downforce generated elsewhere.

Having said that, I think skirts were forbidden more because they make driving a car through corners too easy and races too dull than out of safety concerns.
How does the performance compare to a Raspberry Pi 4 with 2 GB ram?
Chinese BEVs are horrible compared to those from western OEMs. It is true that it’s easy to churn out a BEV that just integrates components from a bunch of tier-1s but efficiency and cost are way worse than what western OEMs can produce now or in the near future.
I admit that it takes a small bit of skill and experience to get to a place with a version control system where doing what you suggest is easy and does not consume meaningful time, but I very strongly feel that it is worth the investment.
Not necessarily. Some people can't see the forest for the trees no matter what kind of programming language they're using.

What's needed here is to sit down and think REALLY hard about how the system works and what some of the terms are that are used to describe things. And also to have an intution for when someone is using imprecise language. GP cited use of a "Schedule" object as a way to enforce the invariant. That might represent a block of intervals by a sequence of times.

The less precise you are about what's needed and how the system should work, the more of a soupy mess you're going to build.

People gravitate toward OO because OO makes it feel like you've got a lot of conceptual clarity. You can get back to that familiar "subject/object" dual we love in English. But the problem is actually that, although people can pick subjects and objects readily from a sentence, they might not have much luck picking the important subjects and objects from a sentence. And that's the problem we really need to solve.
This feels like a big deal for Android Development. I really dislike the bulk and sluggishness of Android Studio.
I don't know how much it costs in India, but I have paid around 75 Euros in France, and I think it's around 50 Euros in Germany. All of these prices which I cited for France/Germany are for those who don't have any health insurance. So reduction of cost by 8-10 times should be commended.

But for a poor Indian, 7$ is still a substantial amount of money. For a middle class Indian, it's quite affordable though.
Sounds interesting can you explain more about it?
That just sounds like a bad squash.
Then the EHT (extra-high tension, ~25kV) module lands in what was your face. 'Incredibly unwise' seems sound!
That was true for old .net, but I have successfully run .net core apps on Linux and to my greatest amazement it worked the first time (granted I waited .net core 3 to test it, so all the bugs have been ironed out).
Even if they don't by default record everything they could trivially be told to and our lovely government or any arm thereof could order the oem to update to a firmware that enabled cop mode.

Our nation is working hard to pass legislation that would make such orders legal right now.
Sean Parent has also written a lot on the topic.
Why Apple’s strict App Store rules can be pro-consumer and pro-developer
Yeah it seems like being a Lyft or Uber driver where your hourly pay ends up getting driven towards the minimum wage.
If you play your cards right, you can even get your type system to alert you to every place in your code that needs to change when you change the constraints.

I don't deny there's a certain art to that, and I can't explain it all myself. But I don't even necessarily mean amazing clever type tricks like you might see in Haskell or something, I mean that something as simple as "I've changed the definition of what a 'Customer' is in some fundamental manner, so I'm going to rename that class to 'CustomerNew', use the compiler to point me at every single place that breaks, audit it, change the local name to CustomerNew, and then, once everything is fixed, use my IDE's rename feature to rename CustomerNew back to Customer before my final commit". Many times you can get by just by renaming a field or something to similar effect, but in the worst case you may need to audit everything.

It's one of the more tedious bits of the job sometimes, but net-net this can still be a timesaver, if you account for the full cost of the trickle of bugs this sort of thing can prevent.
I'm not sure you would consider this a good way, but one can implement (unchecked) sum and product types in any language with lexical closures via Scott encoding[1]:

# data Pair a b = Pair a b
def pair(x, y):
return lambda f: f(x, y)

# data Either a b = Left a | Right b
def left(x):
return lambda l, r: l(x)
def right(y):
return lambda l, r: r(y)

v0 = pair(2, 3)
v1 = left(7)
v2 = right(9)

# case v0 of { Pair x y -> x + y }
print(v0(lambda x, y: x + y))

# case v1 of { Left x -> x + 1; Right y -> y * 2 }
print(v1(lambda x: x + 1, lambda y: y * 2))

[1] https://en.wikipedia.org/wiki/Mogensen%E2%80%93Scott_encodin...
Nice work by op. When I see the world and space, I cannot stop being awestruck by how everything is so beautiful. I am not able to explain all of this just based on randomness and Darwin’s evolutionary theory. I think there is God. Does anyone else get the same feeling? I also admit that I don’t know who the real God is. I also feel terrible sadness that the real God does not reveal himself to each individual when the expectation is that being the father he has responsibility to lead each individual.
Reminds me of the quote:
> Show me your flowcharts and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won’t usually need your flowcharts; they’ll be obvious. -- Fred Brooks, The Mythical Man Month (1975)

I don't think they're inherently contradictory. You can have plain data objects representing the domain, and functions that act on these objects representing the behaviors/actions in the domain. You could include these functions as part of the "class" for these objects, and have them return new instances of the class to maintain immutability.
I have to disagree with you here.

The cars can store and deploy energy. Often times the optimal strategy is to alternate storing and deploying energy on consecutive laps. So there is a ton of skill involved in staying as close to the driver in front while on a "harvest" lap so that they can pass the driver on the next "deploy" lap.

This is just one of the many, many ways that skill comes into play.

For more detail, I suggest watching the "track guide" videos by former Champion Nico Rosberg. He basically does sim laps while commentating the details that separate a pole position run from a 4th place run.
no but probably will be, mostly not making it public right now because it isn't a pretty project to look at atm.
See also https://matt.diephouse.com/2018/08/value-oriented-programmin... for a very quick introduction.
Kubernetes Cost Savings by Reducing the Number of Clusters
I wish more people would naturally come to this conclusion in their careers, but many people I have worked with just don’t care about maturing their git disciplines. All it takes is one teammate who thinks it’s a waste of time to undo the progress of everyone else.

For context, my career has been in web development start ups, which generally reward the cavalier and tolerate the careful.
Narcissism... pride... sin... it's all the same. Modern psychology has preferred to repackage and relabel the "sin" [1] that was identified thousands of years ago. But while they were busy editing out the big "G" and everything He had to say about fixing it, they ironically edited out the only Answer that can truly lead a man away from his obsession over his own reflection. Then again, imagine what would that do to the market for self-help books.

[1] Galatians 5:19-21 - "The acts of the flesh are obvious: sexual immorality, impurity and debauchery; 20 idolatry and witchcraft; hatred, discord, jealousy, fits of rage, selfish ambition, dissensions, factions 21 and envy; drunkenness, orgies, and the like. I warn you, as I did before, that those who live like this will not inherit the kingdom of God."
Fwiw this "feature" was so buggy on my bank app (Crédit Agricole) that they reverted me back to SMS 2 FA.
I think in many cases - not all - people complaining about JavaScript don't really understand it.

JS isn't a best-possible-thing, but a surprisingly good Lisp without parentheses. I think, Crowford's "Good Parts" has good points.
Dumb question, but has Barnes and Nobles been better about their behavior with the Nook?

I’m slowly weening myself away from Amazon where I can, but I need options.
I'm seeing slow performance switching/joining channels, and it's not clear whether DMs or @mentions are working consistently. Messages I send are frequently coming back as 'could not send message'.

I'm not delighted by their use of might/may language and lack of detail in the status messages. Slack is pretty clearly not working well for a large number of users, and based on the above IDK what can be attributed to degradation vs. people being unresponsive.
Voice assistants on phones can be set to only trigger on manual interaction, and they can be turned off entirely.

Having an always on voice assistant is like having 24/7/365 surveillance in your home, regardless of what device it's on. But having a smart phone does not require you to have an always on voice assistant.
> It does not matter that it's untidy. It's your history.

That is only true if you are working in a personal git repo

If you are committing against a repo with many others though, having a tidy git history is important. If I discover a bug and bisect to the "remove debug logging" commit, it is hard to revert that - or to even understand what it means. I then have to go in and try to determine which feature that debug logging is for and how many commits I need to revert to get back to a sane place.

My general rule of thumb is that I squash commits (when merging to a public repo) if the commit doesn't warrant time into creating a proper commit message (explaining what I am fixing, why, etc). I have no problem creating a set of 10 commits to merge in one feature, but each commit needs to be individually reviewable and understandable.
> to save old people.

We're "saving" old people in one sense, and accelerating their decline in many others.

Nursing homes are locked down and they haven't been able to see family for over six months now.

It's basically like being in prison, except you are old, infirm, and also likely have some level of dementia.

Basically a living hell.
I'm not sure it is possible to separate those two things as long as our behaviours subtly change because of some quality we perceive in another person.

A baseline for human needs ( food, shelter, access to health and opportunities to develop oneself) can be codified into law but we'll always find a way to express those biases at the higher levels IMO.
Interactive rebase is the only way I do this now too, it’s so intuitive!
What would you call it when you have so strong feelings about what people you will never meet or even interact with think about a marginal feature of English? It certainly doesn't seem very sane.

And it's not even that they are wrong, "murder of crows" is definitely correct English. Not just very commonly used.

By the way, asking crow researchers what terms they use is just silly, they are the least likely to be using it, it's not a technical term, it's a quaint old expression - everyone knows that.
Guerrilla Productivity Tactics
There's a great talk from Richard Feldman that talks about this in the context of Elm. https://www.youtube.com/watch?v=IcgmSRJHu_8
>Been here since 98, never ran into the issue of not being able to pay with banknotes because of returning lots of coins. In fact quite the opposite. Go into a convenience store, buy a pack of mints for $1.04 (104 yen) hand them an $100 bill (10000yen) no one blinks an eye.

Similarly, I was surprised in Amsterdam when a family got on a bus and didn't have a ticket (or whatever) and so just gave the driver a 50 Euro note, and he made change and gave them their tickets.
Yep, I'm waiting for this, as well. Streaming from Steam, the games are great, but the desktop needs (much) higher resolution.

At the rate display resolution is improving, I'm quite sure it will happen this decade.
Not disagreeing with you- but I'm always amazed at how shocked people are too discover that their standard cable boxes have had microphones in them since ~ the early 90's, with the capability to send recordings back over the cable lines. Not retroactive (that we know of), but still.

And that the FBI and police have actually used them (with warrants) to get criminal convictions. Publicly available court transcripts confirm this.

That's the legal use. Who knows how the NSA has actually been using those in situ capabilities.
Fredji – Happy Life ( No Copyright Music)
> I would expect the assumption that if the customer doesn't have a fixed contract, they are on a default contract to be encoded in business logic somewhere in an application that uses this database.

That's exactly the kind of harmful assumption I'm talking about.
Harmful in that when people act on that assumption and actually implement it that way.

How a default contract might be represented may vary, and of course it is in no way required or even sensible to be stored as a row in the contracts table.

But to think that it is such a fundamentally different kind of data that it should be represented apart from the rest, in a different system, in a different layer, in a completely different form of representation - this is where madness lies.
The Aesthetic Inversion in the Religious Conversion of St. Francis of Assisi
HEAD_TRUNC? Is this to detect when Autopilot has driven through a freight trailer and severed the driver's head?
No not until you have replaced them all.
Jupyter Notebooks Gallery
Climate change is about rate of change. The temperature has to change slower than evolution and migration can allow the ecosystem to adapt.
Birmingham (UK) orders 20 hydrogen buses to “kick-start” hydrogen market
> children are key to spread...within the household

Sorry but I don't understand the distinction. One family member has Covid-19 -> spread to children -> spread to other family members -> other family members spread it outside, so in the in the end children are key to spread. Or am I missing something?
2 of those authors can't even legally treat patients in the United States.

It really goes to show how corrupt the US Medical/Physician cartel is. Even outstanding scientists and experts are not allowed to treat a patient. Heck one of them teaches Physicians but can't practice.

Totally bizarre how widely accepted having 1 medical cartel is. Hopefully after the opioid epidemic, people are much more skeptical of Physicians and we can get legislation to destroy their grip.
From the article

>By itself the GDP tells very little. Simply a measure of total output (the dollar value of finished goods and services), it assumes that everything produced is by definition “goods." It does not distinguish between costs and benefits, between productive and destructive activities, or between sustainable and unsustainable ones.

From what I understand, GDP is calculated based on goods "produced", which is NOT the same as goods "sold". The difference between the two is, "inventory", which can expand and contract to make the equation balance.

So here is the crazy part, you could have farmers producing records amount of food with no way to get it to market and it ends up rotting. Meanwhile, prices spike because there's nothing to buy at the Grocery Store - it can't physically get there. But the food has already been PRODUCED so it's all counted in GDP and it's counted at the higher price-spiked level. It just doesn't go anywhere but into the garbage eventually.

So as a result you have a huge official GDP number and the appearance the economy is awesome, but people are starving or straining to afford food for consumption and farmers are going broke. This example can be applied across many industries.

Great GDP numbers these days don't mean a whole lot.
Attending a Hackathon with Scala and Akka Streams on Microsoft Azure
You’re creating a false dichotomy. When people say “squash your commits”, the don’t mean “squash your entire repo into one commit”, they mean “get rid of you ‘typo’, ‘typo fix’ commits”. Your commits should still be small and self-contained.
Deep Space Atomic Clock
If you want beautiful representations of what cells look like, highly recommend David Goodsell’s pictures. They’re highly regarded in the field of biotech
Can you elaborate more on the "required" fields point? We've been using a similar feature for several years now in APIs at my work and haven't run into any issues, though we do only use it very sparingly for fields that logically can never be missing. At some point a client has to make the call for what they consider essential, so pushing it in the schema makes this less ambiguous from what I've seen. Maybe it's fine for our use-case (mostly static APIs), whereas what you're saying is good advice in general.
A ritual for your product increases satisfaction and spending
the CRT of Damocles just doesn't have the same ring to it.
In a small apartment I used to rent, there was a rod for hanging clothes over the bed. I didn't use the rod, so I just hung a tablet from the rod and watched movies in bed. It's a very comfortable position to be in, don't have to strain your neck.
You remind me of a history teacher I had in high school that lectured me in front of the entire class on how my name was being mispronounced based on the way it was spelled. At the time, I just thought to myself "what an idiot" and carried on with my life.
It's not a string either though: in the same way integer addition (almost always) does not make sense, string concatenation (almost always) does not make sense either. The proper type would allow for equality check and explicit string (de)serialization only.
The best lay down desk for a vim based programmer is to have a good mattress and a split keyboard, one half of the keyboard on each side of your body with arms unbent down by your sides, and then monitors suspended above you facing down.
Yes! Also the book Elements of Programming by Stepanov has a lot of "value orientation" in it.
We should rename object oriented programing to bureaucrat oriented programming. I always think that the reasoning that led to develop the aberration of OO is the same that creates bureaucratic nonsense.The want of making people replaceable through bureaucracy so that the programmer as a human being can be removed from the picture plus all the other bureaucratic thinking nonsense leaked to the design of the language. Its funy how ridiculous we are, pretending something all the tme.