skysight-inc/HackerNews huggingface dataset:
Here's what is _supposed_ to happen with perishable goods: https://sellercentral.amazon.com/gp/help/external/G201003420...

tldr; Anything perishable is supposed to have several expiration date labels on it in large format, and nothing can be sent into Amazon that expires within 90 days. Amazon says they will dispose of anything received with less than 90 days remaining before it expires.

There are a number of things that could be going wrong here. I operate a supply chain company which works with 3rd party sellers, so I'll focus on what I'm exposed to.

One issue could be Amazon's labeling requirements. They actually require a separate label in MM-DD-YYYY format to be affixed to each product. This sounds good on paper, but in reality it means the seller or sometimes a 3rd party warehouse can put whatever they want on the label. Generally, sellers are honest about this, but mistakes do happen and Amazon doesn't necessarily verify what these labels say.

Beyond that, commingling can compound the issue. Say you have 5 businesses selling the same product, and one of them is fudging their expiration dates. It becomes fairly difficult to track down which seller is fudging the dates. This is one reason I recommend all my customers not commingle their inventory (it's an option the seller can choose).

Supply chains can also have wildly varying temperatures. Many sellers choose to work with climate controlled warehouses, but don't consider the trucks used to move their inventory aren't climate controlled. It's highly possible a product meant to be stored at 70F will sit in a 110F truck for 3 days before being checked in at Amazon.
It reduces the risk, because more of the inventory will be genuine, returns are simpler, and you have "one throat to choke" if something is bad.

You can reduce risk further by buying Amazon essentials or Amazon's own brands, such as Whole Foods brands.
The books that really shaped my understanding of CS are:

- Theoretical CS:
- Compilers: Principles, Techniques, and Tools (The
Dragon Book)
- Introduction to the Theory of Computation, Sipser

- Programming:
- Java Concurrency In Practice, Brian Goetz
- Generics in the Java Programming Language, Gilad Bracha
- Professor Frisby's Mostly Adequate Guide to Functional
Programming
- Unix for Poets
- Modern C++
From the article: "that arrived with a “rancid smell.”"

Also, it's fine when you shop in a store and decide to buy expired food because you know you'll eat them soon. But what if you want to stockpile 1 year of baby formula and amazon delivers already expired formula ? Same for pet food, &c.
* I use a Leuchtturm1917 A4 square-dotted hardcover notebook for immediate notes.

* Longer-term items go into Org-Mode in Spacemacs.

* On-the-go to-do items go into Org-Mode as well, via the excellent Android app "Orgzly". These are shared via Dropbox with the Spacemacs instance.

* Habits are also in Org-Mode, with the org-agenda habits view showing me how I'm doing on that. A habit being a repeated task, something you want to do semi-regularly like "remember to take preventative inhaler" or "do yoga at lunchtime when working from home". This is a good overview of org-agenda + habits view: https://blog.aaronbieber.com/2016/09/24/an-agenda-for-life-w...

* I used to also save technical discoveries as a long list on my personal DokuWiki page in our work instance. It would get written as "Short Headline", then description, then code examples. Things like Title: "YUM wildcards", Description: "Use “yum list”", Example: "[root@wiki01 ~]# yum list "php*fpm"". I intend to get back to that by using the note taking org-mode capability in Spacemacs and scripting a dump of those into a personal wiki "somewhere".
It's important to know that the UK government currently has a majority of around -40. Which means there's going to be an election sooner or later and no legislation can pass. This allows them to announce and pursue popular policy without any intention of fulfilling their promises - since they can't pass their legislation now, and they won't need to answer for their policies for 5 years if they win an election.
M4 is a generic preprocessor, not a backend shell program compiler.

And I'm not your bro.
I wonder if Mozilla will change their rollout plan now that the UK has dropped their porn-filtering plans[0]

0. https://www.bbc.com/news/technology-50073102
> Being unable to view female coworkers as you do any other coworker is misogynistic, whether it's intentional or not.

Indeed: gender quotas and "positive" discrimination is both misogynistic.
I believe you're referring to the fact that MIT's intro class for EECS was changed from scheme to python. This was not a translation but instead the intro curriculum as a whole was re-designed. 6.01 isn't really an incarnation of 6.001. It does reflect a "programming by poking" approach in that it does not try to have the students build their understanding from a set of core axioms. Instead, students add/modify code within an overall framework. I took 6.01 in the fall of 2008 and found that this it less feels conceptually satisfying but does indeed bear a closer resemblance resemble real-life programming. https://ocw.mit.edu/courses/electrical-engineering-and-compu...

I never took the original 6.001, so my comparison point is actually a stripped-down reincarnation of the original course which is taught by alumni volunteers during the January IAP term. http://web.mit.edu/benmv/6.001/6.184/website/
A minor pet-peeve of mine is when searching for videos on DDG, right-click or Cmd-click on the thumbnail doesn't open the "link" in a new tab.

Yes, I could cmd-click on the title instead but people (me) are lazy. Bigger targets make for a better/quicker experience.

They have a few other javascript enhancements like this that seem to break simple HTML functionality. Enough of them that I go back to using Google any time I venture into the DDG world.
Sounds like it could make for a fun variation on the text adventure, where having stuff go wrong is at least as amusing as actually solving puzzles.
The political term “left” actually started at the beginning of the French Revolution, where the legislative chamber was distinctly left and right sides, with the left side occupied by those waving the banner of “liberté, égalité, fraternité” and who increasingly slaughtered anyone whose views differed from Robespierre.

The term continues today, with similar physically left-right distribution of comparable views within the U.S. legislative chamber.
Am I the only one who loads the website for some of these alternatives, see they use flat design and immediately closes the tab?

This isn't a slack alternative, per se, but I really like quip. It lets you create and share documents. You can then leave comments on a part of a document and tag other people, who will then get alerted. It lets you have conversations entirely within in the context of, for example, a design document. It would be perfect if it also had tight integration with a task tracker.
The Art of Computer Programming

Structure and Interpretation of Computer Programs

Purely Functional Data Structures

Programming in the 1990s

A Logical Approach to Discrete Math
There is a two-step process here for your builders, gardeners, nannys, security guards, etc. First the things they want must be produced, then they have to secure access to those things.

There is no question that tax-and-redistribute can make step 2 happen. However, the problem is that the plan for step 1 is usually some variant of 'Massive taxes aren't going to change what gets produced. What's gonna happen, people gonna stop working on important things?'. That plan often doesn't work because it turns out massive taxes change what gets produced, often much for the worse.

You can get morally outraged if it makes you feel better, but your comment inspires no hope in me that you've thought your solution through. There is substantial evidence that, economically speaking, going for a big pie unevenly shared is a much better solution than going for a small but evenly sliced pie.
> as if all ideas

This isn't about ideas. It's about data. The quality of data is independent of where it came from, so it actually is equal in that sense.

> You should track down an expert.

Yes, we should refer people to experts more often. Why? Because they have data, not because they have titles or affiliations. Information is what makes them experts, and information can be shared.
SICP gave me nice insight into the way that things works but I found much more valuable to read 'The Elements of Computing Systems'. It is a long book but you will build each element of the computer if you follow it. It might not reflect nowadays computers, but surely it will bring an idea how everything works, from the very ground of gates and bits to the kernel, compiling and so on... just my personal opinion.
It's likely a reasonable assumption but is not always true. I don't know why people can't just say things that on average sound reasonable without some internet police officer having to call them out?
That's an amazing graph. The other side of the same story is the US production of oil:

https://www.eia.gov/dnav/pet/hist/LeafHandler.ashx?n=PET&s=W...
I don't have first hand experience, but I know some people at MS who work on Xbox (which is a modified version of Windows+HyperV underneath);

From what I understood from them, they do not use NTFS (they use SMB from a clustered filesystem) for builders, but they _do_ use a heavily modified version of windows, incidentally that modified version went on to become "windows nano". What the actual "Windows" team does is a mystery to me though, I would assume it was similar or the same.
As always, colonialism is the problem. They went from a colonial society with British overseers to a feudal society with Arab masters. Success in Saudi Arabia has always been about your family name and nothing else. I really don't blame the individuals since that's the worldview they grew up in, but yeah it's a shock when that worldview runs into the limits of reality.

If there's a silver lining, it's that they don't have the knowledge in-country to operate and maintain the hundreds of billions of dollars of weapons we sold them and are almost entirely reliant on US contractors. If the US stopped protecting the Saud family, they wouldn't last a month (China prefers to back Iran in the region).
The border is at issue: I could stop in time, but I'd have to stop as fast as my car is able which is uncomfortable. Oh, and I just completed my regular mirror check, and so I don't know how long the yellow has been up. Do I stop or continue on?
Linked page archive:

https://web.archive.org/web/20191021123733/http://www.5gappe...

Full appeal archive:

https://web.archive.org/web/20191002000712/https://www.5gapp...
I am not an expert in this, but I am aware from direct knowledge of businesses that collect recently expired foods (that are not yet spoiled - such as frozen) from grocery stores and transfers them to legal charities and food banks. There is a delta between sale by and unfit for human consumption.
If it’s a big deal to half of Americans, then that means something significant for Amazon
The Missing Housing Boom
>A "play fight" or a round of Rocket League may not result in physical injury but it's still an aggressive display of dominance rather than a cooperative exchange.

Spoken like someone who was taught a “lens” to read everything in the world. We can just as easily invent the opposite meaning: that they were both insecure about looking bad at their job, and punted on the question of which design is better and settled the question of which design was used with competition neither of them would mind losing. Armchair phsycoanalysis that assumes all men are still 16 year old boys is lazy and insulting.
Try searching for building materials, The entire first page is pretty much just ads. I did a local search for garden tiles, 9 actual search results, somewhere between 7 and 22 ads (depending on what you count as "one" ads).

In many cases Google is just an online ad catalog, not a search engine.
You're right, the ratio will be closer to 16:1 after selecting out people with autism from the 4:1 group.
The site claims the following as fact. I’d like to see the research proving this but the click-through link to the “full appeal” where I hope they’re listed didn’t work for me (timed out).

> ... numerous recent scientific publications have shown that EMF affects living organisms at levels well below most international and national guidelines”. Effects include increased cancer risk, cellular stress, increase in harmful free radicals, genetic damages, structural and functional changes of the reproductive system, learning and memory deficits, neurological disorders, and negative impacts on general well-being in humans. Damage goes well beyond the human race, as there is growing evidence of harmful effects to both plants and animals.
> There apparently is a formula that calculates how long travelers need to leave the intersection and, presumably, if you are still there it means you ran red light. It seems the formula is wrong as it does not grant enough time for lawful travelers in normal conditions.

The condition of waiting for oncoming traffic to clear the intersection so that you may safely make a turn across the oncoming traffic stream is a common one, and presumably leaves most drivers in the intersection when the light turns red in dense traffic.
The world’s top economists made the case for why we still need English majors
the hubris of man is that we have enough data to understand the earth at any given moment.

https://www.apnews.com/bd45c372caf118ec99964ea547880cd0
Perhaps he should go work for Apple hardware design then and make substantially more money than he does doing repairs. Oh wait....
I am from the east coast, and compared to where I grew up, the power grid is way more reliable. Where I grew up, the utilities were not undergrounded, and many neighborhoods were heavily forested. Whenever there was a big front of thunderstorms in summer or, worse, an ice storm in the winter, large swaths of the area would lose all of their utilities besides natural gas. Sometimes these outages would last several days.

It was inconvenient, but nobody wanted to pay for the cost of undergrounding utilities, so it was something you just dealt with. A few people bought generators, but most didn't. The only time the outages really caused hardship was during ice storms, but fortunately those were pretty rare.

I now live in CA. PG&E made the right call here. A couple days of no electricity is better than burning an entire town to the ground in a firestorm.
And mortality by non-cancer causes is dropping (e.g. car accidents, infectious diseases).
The article says, "more than 500 studies, have found harmful biologic or health effects from exposure to RFR at intensities too low to cause significant heating." The link to the 500 articles is https://drive.google.com/file/d/19CbWmdGTnnW1iZ9pxlxq1ssAdYl....

I checked the "conclusions" of the first two: https://www.ncbi.nlm.nih.gov/pubmed/29996112 and https://www.ncbi.nlm.nih.gov/pubmed/29709736

Conclusion of 1) Despite the improved exposure assessment approach used in this study, no clear associations were identified. However, the results obtained for recent exposure to RF electric and magnetic fields are suggestive of a potential role in brain tumor promotion/progression and should be further investigated.

Conclusion of 2) Ever use of wireless phones was not significantly associated with risk of adult glioma, but there could be increased risk in long-term users.

They both read as, "we found no significant effect".
Yes! I tried multiple things in last 15 years, everything but OneNote failed me in one way or another.
Yes, any rights exist because someone earn it or fight for it.

Its not just given from god or something.
Not much way to avoid getting exposure to electro-magnetic waves?

You make it sound like EM waves aren’t being emitted or reflected by everything in the universe short of a black hole.

And cell phone EM exposure levels for someone who isn’t carrying a phone - hopefully this person knows better than to walk outside, or stand near a window!
Interesting rule.

In Germany there is a 1 second grace period after the light switches to red. And apparently, even if your tires crossed the stop line after the 1st second, you will not get a ticket if the photo series shows you did not move across the intersection.

Urban rumors are that some taxi drivers used this to empty the (physical) film rolls on the cameras by slowly rolling forward and back across the line past the 1 second rule. I guess this does not work so well with digital storage.
FMLA has an even bigger gaping loophole - it only applies to employers with 50+ employees. That excludes an enormous number of people.
K&R (https://en.wikipedia.org/wiki/The_C_Programming_Language)
Discussion and many other stories and anecdotes of similar and related incidents:

https://news.ycombinator.com/item?id=21256640

Other submissions of the same story, with little or no discussion:

https://news.ycombinator.com/item?id=21256759

https://news.ycombinator.com/item?id=21250962
Well put. “Censorship is the opium of the government,” made me snort my coffee and is highly quotable.

What’s the term for when a small amount of something that hurts is actually good for you? Hormesis?
This site has been online since ~1997, I think, so I think most of the oldtimers know it already. It follows the basic rule of "live by your words and be ready to do as you say". There are sub-rules, also, like "do not post if your post doesn't contribute to the thread". Unwritten rules also exist, that somehow curb the eternal september: "don't post for the first few years, just read". There is no concept of karma there, only thread rating, which IMO helps prevent karma-whoring, as it focuses not on individual, but rather a collaborative effort to make an epic thread. The mods are subject to these rules as well: I've seen mods banned by other mods and mods probating themselves for breaking their rules... i've spent my 10$ some five years ago, and, frankly, it was a good decision I would make again.
If you think OCaml is bad, it used to be Caml Special Light, a play on Camel cigarette naming.
They're talking about Something Awful, which is widely regarded as having very successfully run its forums with a lot of fun, trollish behavior without losing the overall good vibe of the community, by doing exactly what he said.
I think it's just a shorthand way to criticize companies that turn people down for whatever reason. As I mentioned in another comment, a shop does not have to be a brogrammer shop for someone to fail the culture fit test.

To your point, there may be brogrammer only shops out there, but I've never seen one. And, as someone who has always played sports, power lifted, and now trains BJJ, I wouldn't want to work for a non-professional brogrammer type shop if I ever came across one. I've wondered before if I didn't fit a culture because I'm not the stereotypical software person.
Full appeal (which I'm still reading): https://web.archive.org/web/20191002000712/https://www.5gapp...
Relevant: Recent post on SICP discussed on HN: https://news.ycombinator.com/item?id=21299546
I didn't used to when i was first coding as a youngblood. But I'm now beginning to annotate code more for knowledge management. I'm finding that now that i'm getting back to coding on a (tiny, little more) frequent basis, my memory is suited to recent stuff...and to offload the "why" i coded something a certain way is helpful.
That text is all over the place. They go from not hiring someone because they play basketball, to having wrestling as a meditation tool.
I'm not going to make assumptions about their wrestling motivations but he openly admits they were gate-keeping based on an internal concept of male "alpha male nerd" culture. This doesn't fit the view of a healthy workplace for those who think diversity brings resiliance & strength to a company.
Genuine question: Is there a name for saying "past evidence hasn't shown this to be true, thus it's likely to remain untrue"?

I was debating a different technology with a friend and he made such a comment, but my response was that the frequency, scope and importance of past technological advancements won't hold a candle to those of the future.
The tragically correct answer. As I ready this I was hoping you were going to come up with a magic bullet at the end.
> California may not be “socialist” like Sanders wants (and frankly, no country in the OECD is “socialist” anymore the way Sanders wants)

Sanders “Democratic Socialism” is basically European social democracy; none of the things Sanders seeks are all that uncommon, or even for the most part particularly “socialist”, by OECD standards.

> [California]’s got the highest taxes

It's not even in the top 20% of states by tax burden, coming in at 11 out of 50. (Iowa, which somehow never gets called leftist, is #10) [0]

[0] https://wallethub.com/edu/states-with-highest-lowest-tax-bur...
> I guess that manipulating oil price to hurt Russia and Venezuelan, also took a bite of Saudis wallet.

Not really; Saudi Arabia has the highest quality and cheapest to extract oil sources in the world. They absolutely can afford to manipulate oil prices because they know with absolute certainty that their operational costs will be lower than other countries.

They have trillions of dollars invested globally. Problem is that equity is turning into a suckers' game and they want shareholders to be left holding the bag now that green energy is about to kneecap the oil industry. No thanks!
> At the same time, everybody seems to accept that the chance of getting cancer in your lifetime has risen to about one in three for men and one in five for women. And nobody knows why.

Couldn't it simply be that we are curing/reducing the incidence of most other diseases? Cancer is something that typically doesn't occur until the later years of life. By reducing the number of people who die of other causes, you are increasing the potential population of people who end up getting cancer.
Haha, it’s not massive inputs and outputs. It’s multiple input/output antenna arrays.
> Why not detect my coming

This bugs me. $50 of hardware can accomplish this, today. Raspi running vehicle detection code. If something is coming and the other way is clear, why not flip the intersection before it arrives?
Yes, there's Spacemacs which is a Vim-a-like configuration for Emacs which works well as an org-mode editor too. It uses composable commands, like "space f s" for save all files. I've found it works very well across my work Mac, home PC, remote workspace, and Windows 10 WSL v1 and v2.

If you'd like to know more, either reply here or get in touch via my profile, I'd love to help you out (although it may be a bit delayed because I'm suffering from back issues right now). There's also reddit.com/r/emacs which helps a lot with org-mode stuff, much more than the org-mode subreddit. Plus you get to learn a bit of Lisp, which is pretty cool ;)
You can write your own LINQ in Go with a very short program.
See https://github.com/nukata/linq-in-go for example.

Here is a self-contained excerpt:

type Any = interface{}

type Enumerator func(yield func(element Any))

// Select creates an Enumerator which applies f to each of elements.
func (loop Enumerator) Select(f func(Any) Any) Enumerator {
return func(yield func(Any)) {
loop(func(element Any) {
value := f(element)
yield(value)
})
}
}

// Range creates an Enumerator which counts from start
// up to start + count - 1.
func Range(start, count int) Enumerator {
end := start + count
return func(yield func(Any)) {
for i := start; i < end; i++ {
yield(i)
}
}
}

Now you can write the following:

squares := Range(1, 10).Select(func(x Any) Any { return x.(int) * x.(int) })
squares(func(num Any) {
Println(num)
})
// Output:
// 1
// 4
// 9
// 16
// 25
// 36
// 49
// 64
// 81
// 100

I'd say it is so elegant in Go!
I like this a lot <3