skysight-inc/HackerNews huggingface dataset:
Also in Fintech. In some cases it is actually necessary to have more than 2 decimal places.

For example, interest accrued daily, but only ‘compounded’ monthly. In those cases, it is necessary to maintain far more than the 2 decimal places for the daily accruals.

The best type to use here would be BigDecimal or equivalent. These ultimately serialise to infinite length strings.
I have a flip-phone to eliminate this exact problem.
What we do at my work is assign each developer a browser. I only use Firefox. Another coworker only uses Chrome. Etc. This way we will hopefully find any major browser issues before they get to QA.
Then Canada goes back to its old system before the current one: Compulsory Licensing.

Anyone can manufacture any patented drug and just pay the patent holder an x% royalty.

It works ok for playing songs on the radio.
Not building more housing is not an option, they're going to be built somewhere. The question is, will the new housing units be built waaaaay farther out in new sprawling suburbs, or will they be built next to a city train station and have no parking spots? Only one of those two options generates more road traffic.
Can, click on the "x minutes ago", and then flag.
I think the part that rings clearly in my head is the ethical part. I really cannot believe we eat animals. I know other animals do it all the time -- and I don't hold it against tigers and lions -- but its still strange to me that we, humans, do it.

If you don't feel that strong surprise, then I think the other arguments may or may not work for you. But if you have that sense that it is strange and perhaps off, then this article is heartening.
I am ok with this progression.
There are a number of complexities involved but external factors outside of system's control are most critical. Consider for example a customer that places an order with a merchant for $800 paying for three items with prices of $200, $300 and $300 - merchant tries to settle $300 for item 2 that is available in the inventory, then $200 followed by $300 the next day. What if the original $300 got declined due to insufficient funds (bank transfers can take hours or even a day to decline)? How does the bank know whether the next $300 is a retry or remainder of the original authorization? The correct operation requires cooperation and idempotent behavior from the merchant, their acquirer, the network used by the customer and correct implementation at the issuing or money holding bank. Implementing distributed transactions and settlement ledgers across multiple parties? That's what blockchains are for but we are quite a ways from that (part game theory, part tragedy of the commons, if you will).
reducing consumption would be a benefit if you think about it from a climate change angle...

For restaurants, I usually search for them in a directory and not in ads...
Ideally yes, but remember that a lot of these games aren't designed for Linux but are effectively running in a compatibility layer for Windows. There is no way for the programmers to know that they need to be interacting with a Linux window manager's behavior.
I have yet to find one practical application for generics in the apps I've built in Go.
These other devices are all cheaper and less popular than the iPhone. This quarter the category that includes the AirPods and Watch made one fifth what the iPhone did. To contribute 10% of company revenue growth, this category needs to double. Maybe the category has room to double once, but will it 10x over the next five years? You would need performance like that to justify a high PE ratio.
The AWS CloudFormation Public Coverage Roadmap
The actual important line is the next one:

> In addition, it removes the old properties which were part of the earlier Scroll Snap Points Specification.

The earlier API was based on a working draft spec and has been available since 2015 in Firefox (Chrome only brought it out without a flag in 2018), so this isn't a recent development.

https://caniuse.com/#search=scroll%20snap
I've been recently reading the papers coming out of the Berkley Disroderly Lab -- Bloom(L) languages, lattices, composing eventually-consistent, coordination-free systems. It's interesting to read this article with that lens. There are some properties that are similar, but this one looks like it is designed to let people continue programming the way they are at the cost of increased coordination with other systems.

The idea of a replayable log seems to be able to convert a disordered sequence of events into something that is ordered. Whereas, the Bloom(L) stuff constructs algorithms that only requires partial order. An event stream can be disordered because the functions being used are monotonic, and the compositions of the data structure uses operators that are commutative, associative, and idempotent. (Thus, there is no requirement for exactly-once guarantee, or an ordered event stream).
That time of week to rehash all the Go Generics comments!

https://hn.algolia.com/?query=generics&sort=byPopularity&pre...
This seems so backwards to me. Why not do it as part of your CI process where you're not foisting unnecessary tooling on your developers local machines? The lag involved in spinning up and running the commit hooks is noticeable and disruptive especially if you commit often and rebase locally.
It looks like spot.im powers the comment platform that @mzs links to. Clicking "share" under a comment generates a spot.im URL.
Environmental Health Trust: Screens and Sleep
No its not. I had to move quickly last week. Needed to find someone who could take some stuff. Remembers the 1800gotjunk commercials. They fixed my problem. I guess I could have used google but without ads google wouldn't exist so...
Linux already has what you’re talking about with eventfd and epoll.

In Linux each thread can get an eventfd and you can POLLIN all of them.

In fact I would argue that using futexes is the “roll your own solution” using lower level primitives (and easier to fuckup) much more so than eventfd and epoll.

As mentioned somewhat poorly in the post, using futexes gives a performance boost which is not surprising since they are fast user mutexes. FWIW I didnt think windows events had a fast user space path but I may be mistaken.

For most worker pool scenarios you’re describing, the overhead of eventfd is probably in the noise.
Why generics, indeed?

There must be an answer to this, but I've never seen a good response to why they aren't implementing parametric types and (single-parameter) typeclasses instead.

Simplicity? Yes, but generics are hardly any simpler.
"Businesses are made of people, and people have ethics. If you're running one, consider the way you advertise. Are you aiming at making mutually beneficial transactions, or are you just trying to milk you users out of their hard-earned cash? Not all advertising is inherently harmful to individuals or society. "

So, some kinds of cancers are OK. It's hard to take this sort of article too seriously when it undermines it's own point so effectively.
The Denali graph is interesting. You can see how the climbing season for Denali (May-June) skews the bulk of backcountry camping much earlier in the season than the weather would predict
What is an “obscene profit?” Drug company return on investment is similar to other high-tech, capital and skilled-labor intensive industries: https://www.forbes.com/sites/johnlamattina/2018/01/23/about-.... Their net margins are somewhere between software and semiconductors: http://pages.stern.nyu.edu/~adamodar/New_Home_Page/datafile/.... Does Intel (not to mention Google or Facebook) make “obscene profits?”

(Note the first source is data collected together by someone at Pfizer; the second source is a study by an NYU Business School professor. These are public financials, you can run the numbers yourself on Yahoo Finance.)
Targeted Instagram ads have been very useful to me recently. I just moved apartments, and the ads have been showcasing products that I wouldn’t have otherwise known about.

The argument can be made that maybe I didn’t need these things in the first place. But I want them, it makes me happy, and these ads have saved me time.
This is a dogmatic viewpoint I think often seen in very technical people who are unwilling to see the interconnectedness of how our society works.

I bet there's any number of things this person values that simply wouldn't exist without advertising.

It's a childish and immature opinion really.

Anyone who hates advertising this much should show their commitment by working at an organization that does not advertise. Loathing advertising and at the same time depending on it for income is deeply hypocritical.
> but a F-18 or F-16 should be good enough for most of us.

Dude, an F-5 would be enough for most of us. These aircraft are amazing.
You misread. The advice was to invest over time to get used to the idea, so by the time it’s all invested, they are comfortable with and calm about that size of investment.
Interesting spike in backcountry camping in the Great Smoky Mountains relatively early in the season (starting in March). Probably thru-hikers on the Applachian Trail, hiking northbound?
I am very much in favor of the idea of building high density housing centered around public transit. It sounds like a perfect solution to a large set of related problems.

I am scared to see what the end result will be in US cities, however, because public transit for almost all of the US means poorly run busing routes that nobody wants to take.

Having lived in San Diego for many years (as well as Denver and MPLS which I think are relevant comparisons) I believe that what will happen is that existing (poorly run, poorly utilized) bus routes will be chosen by developers who will use the "blah blah transit blah blah" designation that was just gifted to them to build high end units for people that will drive their cars.

No actual transit (the kind that runs on rails) will be built, some more car-centric housing units will exist at high end prices (they're not going to build garage-less buildings nor are they going to build low end units).

Oh, and the buses will still be empty.

I want this kind of policy regime to be pursued, but they need to build the transit lines first. And buses don't count.
That directory is almost invariably funded with money from advertisements
That's interesting, probably a bug in the take back function. There are multiple engine evaluations running in the background at the same time, current evaluation, opponent evaluation and the brain evaluation, so it could be possible that when you take back there is some problem with synchronization
How can I find today's most searched keywords on Google?
How do you think that directory makes the money necessary to produce and maintain it? Generally, ads.
Have you read this paper? http://www.neilconway.org/docs/socc2012_bloom_lattices.pdf

There are additional efficiencies if the operators are commutative and associative in addition to being idempotent.
Every project I’ve written so far in golang could benefit from generics.
Good point. I guess the emulator could request the profile, but then you either need a one-size-fits-all approach or somebody has to maintain a database of which games to enable it for.
> Two leaves will absorb more CO2 than one leaf.

And two leaves will also release more CO2 than one leaf, once it's on the ground, decaying.

Trees don't make carbon magically vanish, trees store it in cellulose, aka (more or less), wood. A tree that doesn't grow more wood does not store more carbon, and there is nothing to be "maintained", mass does not just disappear.
> without any advertising at all it would be really hard to know what products or out there or even that there is a restaurant on the other end of the block

There's a huge difference between reviews, directories, and advertising. You can seek out information without being pushed advertisements. Another facet: whether payment from the entity being promoted is involved and affects placement.
A friend of mine worked on a home remodel job for which the contractor expected delays in payment. The job included a fireplace and chimney because the homeowner loved fireplaces. After a couple of weeks the homeowner called to say he would pay the damn bill but in return they had to fix the terrible draw on the fireplace because the house was filling with smoke no matter how the damper was adjusted. Check in hand, the contractor sent my friend up a ladder to drop a rock down the chimney. After the plate glass they had cemented into the flue while building the chimney was broken, the draw was fine...
In NYC, there are many pop up events including food events, which wouldn’t show up in a food directory site, but they do show up on Instagram ads.
I'm not convinced that there's no other possible business model for a search engine.
$31 million is a laughably small amount of money to set aside for direct settlements in the biggest hack in all of history. Add three zeroes to that, probably still not enough.

I spent three days figuring out this nightmarish credit reporting system and helping friends and family place freezes, as well as educating them to avoid all the horrible dark patterns on Equifax's site. What I want is about $2000 and the ability to opt out of them owning and reselling my personal data completely. I don't need credit monitoring, I don't need credit period anymore, why am I forced into accepting the unlimited risk of them owning all my data so that this private company can keep operating?
most of them are very similar... they basically say don't travel during school summer break?
Paywalled, and political rather than technical.
A Brief Guide to a Few Algebraic Structures
A good portion of advertising is probably a net negative to society in the form of promoting consumption beyond healthy/financially responsible levels. However, anyone who's ever started a product business knows that advertising is often the only effective way to get new customers, even if your product is amazingly helpful to people. It's difficult to draw the line between advertising that is helpful and advertising that is harmful.
Generics are more for developing reusable libraries than single applications.
Show HN: Hacker News hacked, one liner to sort HN feed by comment count
I prepared a nice snippet that interactively sorts HN news feed on the main page https://news.ycombinator.com/news. Works on Chrome. Check this out!

$$('.athing, .athing + tr').map((tr, i, all) => [tr, all[i+1]]).filter(a => a[0].className === 'athing').map(all => [all, parseInt(($$('a', all[1])[3] || {innerText:'0'}).innerText.split('&nbsp;')[0]) || -1]).sort((a,b) => a[1] - b[1]).forEach(all => $$('table.itemlist tbody')[0].prepend(all[0][1]) || $$('table.itemlist tbody')[0].prepend(all[0][0]) )
That's because you write a particular kind of program. Notice that there are no good ORMs or numerical libraries. Both of these are use cases for generics. Of course it doesn't help that the go community is convinced that ORMs are evil (which is just posthoc rationalization for being unable to write one).
I would say the theft of attention and concentration is a cancer on society, but I agree overall.

To those who say there is no other model, you are not correct.
To clarify, I agree.

To further clarify, what you think I said is not what I said.

The practice of journalism will not eliminate bias. Nothing can. But it can and should mitigate it. And if you're not trying to mitigate the biases, then that's not journalism. To write shamelessly with bias is not journalism.

Long to short, there is a fair amount of publishing that gets called journalism, but is actually op-ed. There's nothing wrong with that per se, other than as journalism, it's fake news.

The Rachael Maddow Show is not journalism; and in that context/form she is not a journalist.

Many of the Fox News Shows are not journalism.

Etc. Etc. Etc.

The problem is too many people treat them as news and they're op-ed.

Put another way, just because you agree with an opinion doesn't mean it's journalism.
I was a VMware admin primarily for years in engineering shops and everywhere I worked constantly had issues with resource allocation, which team had the most resources deployed, who had the most idle vCPU and memory running...

At one company pretty much my sole job for 2 days a week was to look over utilization by team, shutdown idle VM's and check for any that were provisioned with too many resources. I'd have to e-mail the team, power them down and resize the resources and boot it back up, etc.

I automated all that with scripts, from the team e-mails with a nice HTML table report of the pending changes to actually running the operations to resize and power off the machines. I was pretty proud of all that work.
That sounds fairly alarmist. I'm sure there's a (small) subset of users who'd be willing to pay for services like those if there weren't any creepy advertising tricks happening in the background. Would the business model change? Certainly. But shut down? Probably not.

Google/Facebook are big and motivated enough that they could probably figure out how to make money.
We went through a phase of this in the 1930s-1950s where the government decided that competition was harmful and duplicative. It was a disaster. By your reasoning, we shouldn’t have both iOS and Android—the government should make a single OS where all R&D can be invested without duplication.
Snowflake: The details of our first Data Warehousing project in the Cloud
I think you are missing the point.

Solving a problem using mathematics is EQUIVALENT to solving a problem using computation (which is a silly truism, because your mind is a computer).

They are two different mind-instruments, two frameworks for thinking and thinking about thinking. They are functionally identical

What you can do with one - you can do with the other.

Because Mathematics can only prove things up to an isomorphism. And Curry-Howard is an isomorphism.

Whether any particular solution can be automated is not my point at all.

My point is that when a human solves an abstract problem - they express the solution in language.

Some humans speak Mathematics. Some humans speak Python.

The divide between Mathematics and Computer science is cultural, not grounded in utility.

Hence why - I would love to see some unification.
This is a pretty rare ad experienced. They're much more commonly used to generate desire that doesn't need to exist; to manipulate public opinion in a harmful way; to sell dangerous products; to astroturf; etc.

The fact that people attempt to ignore most ads, with varying degrees of success, tells you that they're net-harmful.
> rotten to the core

https://www.telegraph.co.uk/news/worldnews/asia/china/101323...

Dishonesty is so pervasive, it's considered integral to success in every strata. A Chinese citizen getting arrested for misconduct elicits commentary of "they are unlucky" not "that's good for society".
your motivation to switch to Firefox was based on your willingness to support them over Chrome. The other poster is saying maybe you switched to Firefox from Chrome (presumably, you don't say if you were primarily Chrome prior) due to a preference for supporting Mozilla over Google, but how many users are going to be motivated by that to move the needle?

If you were using Chrome before, Mozilla was around before and their motivations were the same: why did you switch to Chrome in the first place? I'd imagine the motivations there are the ones that are most common (after all, Google ended up eating Firefox's and IE's lunch somehow).
fyi - We built a product around a way to store chronographic data in a graph database, capable of handling any resource, relationship, property, and/or event detail you can throw at it. It's called IBM Agile Service Manager.

Take a look, feel free to reach out if you'd like to know more:

Update from our technical team on the latest version: https://www.linkedin.com/pulse/new-ibm-asm-v115-some-paralle...

Black Friday with IBM Agile Service Manager (video from our technical team): https://www.youtube.com/watch?v=lJGVAJU6qp8
I think you're reading "is" in a particular (and reasonable) way, but there are other ways of reading it. For example "is" can mean "is essentially" or fundamentally, or it could mean "is currently".

The fact that advertising doesn't have to be a cancer is compatible with the claim that it is one at this point in history.
The software Shadowsocks (and its variants), developed by a Chinese hacker to circumvent the Chinese internet censorship, may be of some use here. It is able to tunnel all packets through a seemingly legitimate HTTP connection, which can be used to fool automated traffic snooping attempts.
The phone isn't the issue. It's the office culture towards it.

I just carry two phones & look at the work one only when it suits me. Europeans are generally quite good at respecting work hours vs non so I don't ever catch flak for it.

...and it's a convenient tool when I need it. The global roaming is also nice.
Since building a car (even an electric one) generates a lot of pollution, this looks like a great solution to modernize the car park at an minimal environmental cost.
It's not that it was ugly, but it was very uncomfortable, everything creaked, the wheel was super hard, no AC, etc...
These "source" requests are tiring. What about you do some googling? If this is obviously false it won't take too much time to disprove it, right?

I would be surprised if any credible source claimed that there was something better than the F-22. The possible competitors are either not in the same ballpark or not really ready for anything other than airshows.
Thanks for the question! The big difference is that Builder works like a headless CMS - so you can easily hook it up to existing sites with an API.

This is most useful for existing sites or apps that have a lot of custom coded content, but you want non-devs to be able to make and manage landing pages and other content without relying on developers at all
What valuable things wouldn't exist without advertising?
I'm not sure if its frowned upon or not, but I have a questionnaire for designers/developers using such tools.

https://www.surveymonkey.com/r/2CVHGL2
Cats are a horrible, horrible strain on the ecosystem, and their effects are way greater on neighbors. Anyone who thinks their precious little pet should be entitled to wander free through the environment can kindly come over while I serve them a cat shit-and-tomato sandwich.

I'm sure my dog would love being free to roam around the neighborhood, but I'm not a garbage person and take personal responsibility for my pets.
How about a simple, single, CSS property that can simply say:

"horizontally center this text inside its rectangular element"

And another one for:

"vertically center this text inside its rectangular element"

The issue of centering wrapped multiline text has been solved in many UI libraries.
Google is the easiest thing in the world to sell ads for. You literally have a user telling you exactly what they're looking for. Why do you need to track them or do any of that shady stuff? When I search for "gaming laptop", just show me ads for gaming laptop. You don't even need to know who I am!

Google will be fine.
I don’t think most people will have a problem switching to plant based burgers as long as they taste good, but I think that’s still the sticking point at the moment. I’ve had an Impossible burger a few times and could always taste a strong difference (I even did a few blind taste tests). I don’t think it’s close to actual meat yet. Supposedly the second version of the burger has improved; I haven’t tried it yet.

Cheap meat, like ground beef, will be replaced first, but I think it will be much more difficult to replace specialty meats: Iberian ham or Wagyu for instance. Good luck making something plant-based that tastes like that (not saying it can’t be done though).
If you stop watching ads for awhile and go back to it you’ll see how mind numbing it all really is.

I aggressively block ads - no exceptions.