skysight-inc/HackerNews huggingface dataset:
> Does this really require knowing abstract algebra? Seems obvious to anyone doing any sort of multiplication that if the output is 0 then one of variables/functions has to be 0

No, this is only true when you are doing multiplication in an integral domain.

https://en.wikipedia.org/wiki/Integral_domain

There are many rings where this is not true, like Z/nZ where n is not prime.

2*2 = 0 (mod 4)
2 /= 0 (mod 4)
All components can fail; even if just by programmer error.

There is a difference between expected failures and unexpected failures. I like to use the example of int.Parse() and int.TryParse() in C#. These functions do exactly the same thing but treat errors very differently. You use int.Parse() when you expect the parse to always succeed. It will raise an exception if the parse fails. int.TryParse() doesn't raise an exception, it returns a boolean and you use it when you expect the parse to fail.

Returning a boolean indicating success/failure can be part of the API contract with well defined semantics. But that can't help you with unexpected errors that are part of the implementation.

For unexpected failures, you want to know the cause of it and you want as much implementation detail as possible.

I can't recover from a missing file, but I can recover from temporary network problems. If the file is missing, I want to know what file is missing so I can fix that manually.
I'm not disputing the value of a chain of custody. I'm saying you can do the exact same thing without blockchain - in fact if you've ever tracked a parcel online, you've participated in one.

The only innovation here seems to be implementing a per-product, publicly queryable chain of custody utilising individual RFID tags. Well that actually sounds like a great idea, but it has nothing to do with blockchain! In fact if anything it's the opposite of it, because you need explicitly trusted parties at every step, which would have to be authorised by a central system, which just completes the circle of stupidity.

I'd bet you anything that that final check by the lady in the supermarket is in reality - wait for it - a JSON API request.
Ask HN: Is VS Code already in decline?
Some regressions and omissions I have noticed:

1. Folded code blocks no longer show the squiggly lines indicating errors. This feature was a HUGE time saver for me in quickly noticing and zooming in on problem areas in large code files before compilation.

As it is now, I have to fully unfold code files containing thousands of lines in order to hunt down errors

2. Formatting in CSS files is no longer available

3.Search/replace within a code selection is not possible. This is a basic feature that should have been implemented long ago

4. Sometimes, intellisense does not update after code change, and I have to close and re-open VS Code before intellisense picks up on the changes.

I could go on. I am concerned because these are regressions, so I think the team is losing focus on the basic things that contributes to a good developer UX
It's quite easy and cheap to make a wifi-connected thermostat yourself. I did it, it's great.

I made a web interface so that I can control it with my phone when I'm not at home.

It is based off an ESP8266 placed in the boiler which controls a relay to tell the boiler whether to heat or not, and an ESP8266 in my office that has a temperature probe and a rudimentary user interface, and runs a web server to allow remote temperature inputs, and controls the ESP8266-relay over WiFi.

The 3d-printed enclosure is rather coarse, but does the job: https://img.jes.xxx/1585

EDIT: Failure of the system could result in you freezing, but that's true of anything that controls your heating, and at least this is a device you understand are in control of, and it doesn't rely on anything outside your house. If it fails and you're freezing, just short the terminals of the relay while you debug it.
Web Performance Optimization: Top 3 Server and Client-Side Performance Tips
I can defend myself against a knife-wielding maniac with a gun far better than I can defend myself against a knife-wielding maniac with .. another knife.

So, just keep that in mind in the equation. Knife crime is absolutely heinous in the UK - it does not get the attention it deserves.

Banning guns didn't fix that. Just made it harder to defence oneself against a blade, which is part of the UK policy - the individual is not allowed to defend themselves, and must depend on the state for that service .. and then only when its severe, i.e. likely to get a politician in trouble.

Check the stats, down-voters: the UK has one of the worst statistics for violent knife crime trauma of all the western nations. Its nothing to be proud of.
I strongly disagree with cost-of-living-adjustments when employees have the choice of where to live. People shouldn’t be punished for living in less expensive places.

If your company is willing to pay you more for living somewhere else even if they don’t gain anything from it, it means they’re underpaying you right now.
The problem is women can't see themselves for various reasons to involve the police. Unless society changes to make that possible, rich/self employed people/politicians will get away with it. Others will get fired.
FWIW my own experience is that cost savings are a much harder sell than revenue gains.
Ashley Madison Caught Exposing Cheaters' Private Photos
If you're applying to non-public companies where the stock isn't liquid, it's very hard to compare different packages across companies.

Benefits are another story, and I'd love to see triplebyte release some data about those.
It doesn't and you are right that it's sometimes uncomfortable and jarring. TBH it doesn't seem to me like the biggest problem, though. It could be the music I listen to the most, but the movements or parts are usually separated by silence anyway.
Another company that does open salary calculations is Gitlab:

https://about.gitlab.com/jobs/developer/#compensation
(this is a random developer job, you can check out other positions @ https://about.gitlab.com/jobs/)

Here's the feature ticket:
https://gitlab.com/gitlab-com/www-gitlab-com/issues/831

Disclaimer: I don't work for Gitlab, but I am a pretty biased rabid fan.
I agree that as shown these are wrote abstractions and without motivation, and I wouldn't see their use. It's much easier (for me) to initially learn some wrote rules for solving a problem (algebraic manipulation of Reals) based on examples. Then this Group discussion could be used to show that there was something more general. Then you need to show that the generalization is useful... somewhere?

However, it is difficult to motivate even simple algebra (word problems anyone?) in high-school as something other than a game (and perhaps that's enough). It's when moving to the next level (e.g. analytic geometry with sin/cos) where complex numbers are useful. There you could show usefully that there are 2 different systems of math (Groups) and that algebra that allows the sqrt(-1)=i have different solutions than in the reals. Linear algebra and matrix inversion are another case where the introduction of group theory might make sense... and that you can create more generic versions of commutativity/inverses etc. I think you can get from linear algebra to the linkage between LFSRs (Linear Feedback Shift Registers) and their characteristic polynomials by showing the groups are the same, but that's almost certainly college level.

The step from there to using it to solve a physical problem in Chemistry (e.g. for IR Spectroscopy) or Materials (e.g. X-ray crystalography) is the next step. You get familiar with one thing (or see physical analogies) and then step to the next, but showing utility and providing intuition along the way is important to most.

For some people it's all just a game. I find those people are best at the math... they don't need physical motivation or purpose.
The main problem I see with them is people's perception about what porous pavements do. Great, water goes through them... and then what? The ground underneath the pavement is not some unlimited sinkhole for water. The ground table can and does fill up. Then it doesn't matter how porous your pavement is.

Trees, grass, wetlands, etc, do better in part because they are preventing the water from leaving. They pool water in small puddles, they absorb water, leaves have water sit on them, etc.
Experimental simulator for Mbed OS 5 applications
I'm sorry, I was browsing using my university proxy and didn't think this was obviously paywalled. Apologies.
The business model for these sorts of things should be "target ubiquity". Think GPUs. Huge computational power, low cost per computational power unit.

The problem becomes that Power9 is now effectively a substrate machine for NVidia GPUs more than it is a competitive offering by itself. In my previous life, working on building accelerated computing platforms a decade or more ago, some rules of thumb from customers were that they needed to see 5x at least performance delta to justify serious consideration. And that you couldn't charge 5x the price for that performance delta.

So if power9 is 5x the speed of a Xeon in a set of relevant test cases (ignoring GPUs), and comparable price for a system, sure, it has a good chance of being successful. If not, it is questionable at best.

As others have noted, cheap ... as in really dirty cheap ... development/test boxen for devs to build at home are critical for this. Back in my SGI/Cray days, I was advocating for, though failing to convince, management to enable us to sell older indys, indigos, etc. with IRIX and dev bundles for home/app dev use, at a very low price. My argument was (back then) that nothing could touch Irix for ease of use, and that it made sense to seed developers with this without worrying about making money on them, rather having them create the content that people demanded, that would help us sell machines. Management was worried it would decimate our developer revenue stream. Rather shortsighted I think in retrospect.

Power9 looks poised to suffer the same fate, though not because of OS/compiler costs, but because the hardware will be un-affordable for pretty much everyone.

This is why you have to target ubiquity. You need those developers. If they can't afford your boxes, or your stack, then you aren't going to get them.
Did you read the article?

Besides being part comedy sketch, it's also part sociological experiment and part performance art.

It wasn't about gaming a system for financial gain in the least.
I'm going to target in on "bad life choice", most people end up where family are, especially if they have kids, schools are good, jobs are available. I don't think anyone who works remote starts in Nashville then goes to NYC on some thought they could get a salary increase to cover.
Being in one’s 50s is considered “elderly?”

No wonder there is ageism in tech. 50 year olds are considered feeble minded and apparently unable to read.
I do touch on that point in the article but the numbers show that larger sites are more likely to use EV and smaller sites are less likely to use it. The figures seem to go against the logical assumption. I grabbed the figures and published them because I thought as you do.
Agree. The day Amazon banned Chromecast and Apple TV from their marketplace Google and Apple should have banned the Amazon app from their stores.

Somebody had to step up against Amazon anti competitive behavior. Amazon has now pulled Twitch from the Roku.
So pay the really good developers higher based off of what they deserve to get paid, not where they live. The problem is that there are bad developers who want to live in expensive places and great developers who prefer to live in non-expensive places.
Amazon recurring delivery sends me laundry detergent, toilet paper, soap, etc. on a monthly schedule. It I get to much I can pause for a bit.
In most countries you only have the option to watch YouTube for free with ads.
Find someone to pay you to do it. Expertise is relative and partially marketing. In a new field like cloud security there are not really traditional credentials that are required for permission to practice. Pretty much everyone is flying blind. That's why Equifax and Uber can be hacked. Experts are just less blind than others.
>knife laws

Solve nothing.
What's fascinating to me is that index cards are a kind of spiritual predecessor to modern database systems and computers - perhaps even more closely related than counting devices like the abacus. Richard Feynman touches on this in one of his lectures [1] that's been linked many times on HN.

The theory of information and computing seems pretty fundamental, and not necessarily tied to what we typically think of as a computer, with CPUs, RAM, SSDs, etc. In a way, a card catalog full of index cards and run by a bunch of people is a computer too. Maybe this isn't an incredible revelation, but it's still interesting to think about.

[1] https://m.youtube.com/watch?v=EKWGGDXe5MA
Sprinkling always-on microphones around the house that don't do much more than push a button you could push yourself.

I completely don't get it.
While I think having more trees is good, I wonder if those trees and grass could lead to problems in the concrete and asphalt.
That's an interesting thought to compare such things to traditional brick-and-mortar situations.

A store that dominates its market tends to cause competing stores to close. Which creates the problem in that customers get fewer choices in stores to buy products. This would create the possibility that a dominate store would take steps to cause the competition to shut down; such as price dumping or other unethical things.

But that problem doesn't happen on the web. There's absolutely nothing Amazon could do to prevent Google from selling their product on their own site. I mean, price dumping could still be an issue but it seems no one considers that one anymore. So how can it be proven that Amazon is anti-competitive by refusing to sell a product on their site that competes directly with one of their products sold on their site? Especially when the competitor has no barrier created by Amazon to prevent them from selling the product on their own site?

After all, to be fair, shouldn't I be able to purchase an Amazon product on Google's site?
I don't know if it's economically correct, but as a self-employed person—been at it for a decade now—who still struggles profoundly with cash flow issues (combination of recurring revenue from software and one-off revenue from consulting to get to break-even), I tend to look at dollars as having different values based on whether they occur in a predictable stream.

To me, $1 of recurring revenue, paid on any schedule, is worth at least 4x-5x any sort of one-off project revenue. And conversely, because of cash flow, $100k in self-employed dollars is worth a lot less than $100k in W-2 dollars, despite the higher effective tax rate on the W-2 income. Once you take a discount for cash flow volatility, $100k in unsteady self-employed dollars can afford you a lot less lifestyle, savings, etc., since you can afford fewer and smaller recurring costs if you don't want to be eaten alive in late fees, interest, hits to credit, etc. because you get paid tomorrow but the bill is due today—the bane of my particular existence, living the dream. I suppose that goes with "a dollar today is worth more than a dollar tomorrow".

W-2 income is also more valuable, pound for pound, because of specialisation. In our industry, one can earn a steady six-figure paycheck for doing more or less one job in W-2 land, or one can earn an unsteady six-figure paycheck for doing all the jobs in SE land.
I dunno... I cook every day. I'd love a little gadget I can attach to my jug of olive oil or my sack of rice that will automatically ping Amazon to send more. Of course it's easy enough to do with my own eyes, but I'm usually too frazzled during and after cooking to update my shopping list...
What's New with Nutanix AOS 5.5
> Apple with the OS stealing valuable momentum and userbase.

What did they "steal" that is of value that nobody can access after the "theft"?

Also their not alone because there is a `etc\hosts` file in my windows driver directory.
Open salaries are only great if you’re some introverted, beta developer that can’t speak up for themselves.

“Everyone’s the same. Hooray Marxism!”

If you’re good and you have any sort of gumption, negotiate hard and take the money the feeble leave on the table.
I think we can generalize the last two comments to: when you look at a problem, learn about it, it's structure, until you think you can resolve part of it. Keep repeating that until you get there. Assume that what everyone knows is good until your next steps push you to reexamine assumptions, and don't be reluctant to do so.

Happy ground between 'must build stack myself' and 'too orthodox to ever question the masters'.
Disqus and Zeta
A blockchain is a just a linear merkle tree.
If your devs are located in a bigger city, you can have an office located in that bigger city. If you have an office in a bigger city, you can recruit easier since there's more devs in a bigger city.

If your devs are in a bigger city, there's a good chance they went to the bigger university in that bigger city. If you have devs from a bigger university you can more easily recruit from that bigger university.

If your office is in a bigger city, you can have more relevant personell in that bigger city such as sales and marketing. If you have sales and marketing in a bigger city, you can reach the customers in that bigger city. A bigger city has more customers than a smaller city.

If you have your devs in a bigger city, you can recruit devs from different industries in that bigger city. Bigger cities have more industries present, meaning you can bring in devs with different skillsets.

Basically, discouraging devs from living in big cities can be a very bad idea because. Opportunity costs are real costs.
I would recommend checking out Faktory (https://github.com/contribsys/faktory), by the author of Sidekiq. It's fairly new but looks interesting.

For something production-tested already, I've found RabbitMQ to be very easy to operate as a single server. You obviously don't get HA with a single server, but it's been a breeze to manage.
I feel like you are using salary to measure worth. A junior dev in SF isn't significantly better than junior devs elsewhere; but the salaries are higher in SF, so if you don't match the salaries, you can't hire any junior devs.

> so, just hire in low-cost areas!

The company execs might be based in a high-cost area (because of family ties, property ownership, etc.), and also might not be ready to eat the cost of running a remote organisation.
jsvu: JavaScript (engine) Version Updater
That doesn't appear to be a universally agreed upon distinction. https://financial-dictionary.thefreedictionary.com/Tax+Looph...

> A deliberate or accidental provision in tax law that allows an individual or corporation to be exempt from some provision. Most loopholes are deliberate and are created to ensure that the law is not draconian, to please a lobbyist, or for some other reason.
What about when you forget that you're already on bottle number two?
Roy Moore is saying he doesn't even know the women. There is documented evidence that he does (Year books and the like).

As it stands now, there is evidence that Roy Moore is a liar.
Yes Google should block Amazon since they blocked Google. Amazon has now pulled Twitch from the Roku. Amazon anti competitive behavior needs to be checked and good to see Google finally pushing back.
Maybe it's time to undust those Win32 ASM skills...
Yet they don't work as well as Singapore's?

Hmm. Perhaps it's not as simple as "if it works here, it will work there."
r/thatHappened
> maybe I can get my old VB6 IDE running again...

Why? Just run delphi 7 so that you at least will have sane exception handling ;)

But on a more serious note I wonder how the lazarus-ide will do on ReactOS.
I'm with you. I would not only like this detergent idea but would like counts/weights for things in my fridge, pantry, bathroom. So when I'm in grocery/Dept store..I can just look at my phone to see what I need or have Amazon order it automatically.

I could also know what I needed to buy for cooking meals that week.
It would be super efficient.
Another suggestion: Add a "live" filter to show live recordings.

I have a year and half old kid and while we generally don't watch TV, one exception is watching concerts. After we have exploited the "easy" tracks on YouTube like searching for "Wiener Philharmoniker" or "Berliner Philharmoniker", finding more decent quality live concerts is a huge challenge.
Policy shouldn't be optimized to address these outlier events. Knife wielding maniacs aren't a real problem. Spousal abuse and suicide are.
The consumer sector is a great way to make money. People love buying stupid gadgets. And people already schedule purchases on Amazon every month - the sensor method is just an extension of this to save money/prevent waste. Eventually, if any company actually tries to do it right, sensor-driven consumer goods will become the norm. There's too many actually productive uses for sensors in the home for it not to be pursued.

"Convince Me Why Washer Must Talk to Grill" https://www.eetimes.com/author.asp?section_id=36&doc_id=1323...

The other reason you only see this stuff in the consumer sector is that non-consumer use of IoT is a hot garbage fire. Mesh networks used for industrial sensor tracking at scale are shit, no matter what high or low level protocols you use, and nobody has developed standards ubiquitous and unencumbered enough for everyone to adopt. And everyone already has connectivity for the devices and sensors that need them.
Deceptive headline, please rename

You renamed it, but it is still does not indicate that the thing does 0 actual wifi protocol communication.
The Hidden Player Spurring a Wave of Cheap Consumer Devices: Amazon
There is a huge presence of EV on financial sites where it is used considerably more than in any other sector. I never did come across a reasonable explanation for that though, I'd be interested to know why.
Amazon blocked them. Amazon anti competitive behavior is finally being checked by Google.
Most Embarrassing Parents Caught on Camera at a Wedding – 2017
>This is a poll done by a standard polling company.

Ok thats fair. I might have dismissed them without good reason. I have a blocker for all news sites so i can't access them without going through like 20 steps.

>where they were very accurate in predicting the popular vote.

My comment was about their predictions about number of seats each candidate will win. What does that have to do with "predicting the popular vote." .
Cuseum brings its AR museum tech to Pérez Art Museum Miami
It takes just a couple of lines to "prove" that 1+1 = 2. Most of the proof is simply defining 1,2,+ and =.

https://en.wikipedia.org/wiki/Peano_axioms
Because if you do that, they'll find another employer that doesn't force them to move.

Living in a high cost area is not a "bad life choice".
Fish-ui - A Vue.js 2.0 UI Toolkit for Web
Wall clock != cpu clock

I can do more in the same wall time with a faster cpu(s); I can afford inefficiencies that the opponent cannot, and accomplish just as much.
Show HN: InstaClerk – Instagram on Autopilot
Slightly off-topic, but is there a resource that collects the music cited in Hofstadter's "Godel, Escher, Bach"?

I've never been good at reading music notation, so those sections of the book (which I need to re-read sometime soon) are glossed over, and I feel I'm missing out.
I think the point is that sometimes showing documentation that something exists isn't enough for everyone to "get it". Sometimes you need some kind of technology evangelist to show something really cool they did with a feature for the creative process to begin on a larger scale.

Out of curiousity, if this was just a macro and no one was using it, what would have been the harm in just leaving them in? Is this a part of the language that changes so much it made maintainance a pain?