skysight-inc/HackerNews huggingface dataset:
In Germany it's common that food that doesn't look like it's still worth the full price gets discounted. My department works on the discount label printing and I've visited a store to test it out.

In the mornings an employee looks through the fruits and vegetables, trashes spoiled stuff, but also picks away some and discounts them for 30-50% or so, depending on how good it still is.

It is usually gone in 20 minutes, some seemingly poor people got cheap food thanks to this.
Yeah! More product ads masquerading as technical blog posts. Even submitted by the CEO.
Hyper-threading helps with that.
So Bob tampers with them all to record “everything’s fine” all the time. What now?
> The list goes on for all the extras you get for free when working with standardized tools.

I guess this is the balance between how much less you pay for standardized tools and tech (and R&D), and how much more for all the BOM extensions required. TTM may be important too, favoring using of-the-shelf techs. On the long run, and with big quantities, the balance might actually justify the custom-made.

However, it is with the big quantities deployed that the issues of firmware upgrade -- reliability, ease of use, security -- become really serious, tipping the balance again towards the standard tech.
Don't worry. This involves Go, a Google connection, so it is immune to criticism of bias.
Game developers are not at all open to experimentation, only adopting new languages or architectures when vendors force them to move forward.

PS3 with Cell would have been a failure had Sony not eventually caved in, and released a PS3 SDK that made most of the work Sony was initially expecting devs to do, regarding low level programming.

That work became PhyreEngine.

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

http://develop.scee.net/research-technology/phyreengine/
Oh god I love programming. I love it to death. I can't think of anything else that has given me more joy than programming.

Instead of thinking like "arguing with a petty opponent" I would say to me it's more like physics where there are rules that can bend but not break and you have to figure out how to do it within those constrains and when you do, it's pure just bliss.

Fortunately I've never had to do it in a job. Started my own thing after college and only worked in languages I liked. Turned down a huge project once just because it was Java and I hated Java at that time.

I guess the only time I didn't like it is when I was freelancing at the start of my career. Working on other people's idea is certainly not fun.
They want to prevent another half-baked implementation of a feature like they did with generics.

C# is much faster and has much more features, but because of that it's also a bit of a mess sometimes. For example regarding closures/anonymous functions it has delegates, lambdas and anonymous (inner) classes which all have overlap but aren't fully the same.

Java only has anonymous inner classes, and a convenient syntax and good support for anonymous inner classes with only 1 method (which they call lamdbas)
Simple stuff.

Maintain a flag: Did I touch some probably disgusting surface [trolley/phone/mouse/keyboard/door handle/seat/other people/whatever]? If so, do not touch mouth/nose/eyes/wounds/food until hand properly washed.

Is some idiot coughing or sneezing his heart out? Shut my fuck up and breath through the nose.

Consider everything brought home from supermarket to have potentially contaminated surfaces (checkout-conveyors are disgusting).

That kind of thing. Really just a question of habit. Not in any way going Howard Hughes. I once had a girlfriend who did that (going slightly bonkers from studying medicine (but fine today, and a practicing doctor, better for the experience)), and am well aware of the danger signs.
2,000 times around the globe – Looking at lifetime distances of Planes
Anything built with Electron is the anathema of simple.
If you're one of the half a billion people in the European Economic Area it's really easy. It's part of the same freedom of movement program as EU countries.

Outside of that easy if you're highly educated and have a job waiting for you, pretty much impossible otherwise.
Private health care exists in the UK. Some people chose it. If you do chose it the hospital must tell you the price up front.

https://www.legislation.gov.uk/uksi/2001/3968/regulation/7/m...

> Patients' guide

> 7.—(1) The registered person shall produce a written guide to the establishment or agency (in these Regulations referred to as “the patients' guide”) which shall consist of—

> (a)a summary of the statement of purpose;

> (b)the terms and conditions in respect of services to be provided for patients, including as to the amount and method of payment of charges for all aspects of their treatment;
They made/got the picture, converted it to a number (by interpreting it as binary), then incremented the number until they found the next prime. The incrementing is what made the "noise" in the bottom right.
I've always been hesitant to use DNS to block ads because it's difficult to turn off for non techies. Did the pi hole cause any issues in your experience?
The Stream Framework[0] is still in Python with Cassandra. The Go version with RocksDB is not open source.

[0]: https://github.com/tschellenbach/Stream-Framework
That's nonsense. You do know, statistically.
The jagger logo is indeed awesome! (https://github.com/jaegertracing/jaeger)
I'm so sorry to hear of your loss. One of my friends died at a similar age of a brain infection, another died of a rare form of Leukaemia and one died in his forties of an embolism. We are insulated from the idea of death and we have the impression we are immune. The death of the first of my friends in adulthood changed my life positively, I realised that I had to compromise and choose between my ambitions because endlessly delaying gratification might lead to a bitter and empty funeral. I found a happy and immediate, if less exalted, path. The death of my friend a couple of years ago, of the embolism, wasn't like this - I expected and hoped for more epiphany, but didn't find any meaning or change this time. All I can say to you is that your grief and fear are normal, and that you may find comfort and a way forward in time. We're all looking my friend, and we hope to find before our own end.
What's silly is people tacking in the cookie notice even for 99% of the times they are not needed

> Cookies clearly exempt from consent according to the EU advisory body on data protection- WP29pdf include:

> user‑input cookies (session-id) such as first‑party cookies to keep track of the user's input when filling online forms, shopping carts, etc., for the duration of a session or persistent cookies limited to a few hours in some cases
authentication cookies, to identify the user once he has logged in, for the duration of a session
> user‑centric security cookies, used to detect authentication abuses, for a limited persistent duration
multimedia content player cookies, used to store technical data to play back video or audio content, for the duration of a session
> load‑balancing cookies, for the duration of session

> user‑interface customisation cookies such as language or font preferences, for the duration of a session (or slightly longer)
> third‑party social plug‑in content‑sharing cookies, for logged‑in members of a social network.

http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm
So, you want to write an Operating System in Rust?
They still can't, captured variables need to be "effectively final" since Java 8, meaning they aren't allowed to be written after the capture.

I think that's reasonable though, capturing mutable state is a recipe for disaster, and if you really want/need to you can wrap it in a properly synchronized container (e.g. AtomicReference in Java)
Which is also a thing in countries where software engineering is a 3 to 5 year degree, and not a made up title.
The problem you describe is its part of mass surveillance, not targeted surveillance.

I feel, even though we're not discussing text, the spirit of this quote is appropriate to mass surveillance post processing:

"If you give me six lines written by the hand of the most honest of men, I will find something in them which will hang him." --Cardinal Richelieu.

Discussion about authenticity e.g. here [1]

[1] https://history.stackexchange.com/questions/23785/what-did-r...
Define high quality? The Smoove is great for example.
Cool but old. It can be done in any number base, e.g. in decimal: https://www.youtube.com/watch?v=fQQ8IiTWHhg
Or you can move the image on canvases of different size until you find a position/size where it is prime.

Several other methods can work... Primes are not rare at all - average prime gaps are fairly small in that domain...
That answer helped, thank you. I have a ton of content on Calendar, Drive, Sheets, etc. unfortunately.

Do you know those other services to be safer than Backupify?
That’s an implementation detail tho - not a design one. So my point about the complaint still stands.
It's not the same way though, is it? Trump has the whole 'average American' speech pattern down. Headline grabbing, 'high energy', and a call to action.

> FAKE NEWS - A TOTAL POLITICAL WITCH HUNT!

He doesn't use the intellectual tone when he talks about it.

> Briefly stated, the Gell-Mann Amnesia effect works as follows.

For a certain type of person -- the type that reads HN -- this scholarly style is what we expect. It lays out the biases and beliefs we hold in a manner we expect. It backs it up with some seemingly solid logic that we can relate to. We've all seen at least one badly written scientific article where we know the facts better. So we take it as fact and agree with it.

Is there any difference between them? Of course not, they're saying the same thing, but in a different linguistic style. It does take a bit of work to recognize that as most people have fairly deep biases towards linguistic style that are difficult to suppress. As an exercise to prove this to yourself, try sum up the Gell-Mann Amnesia effect in a way that would appeal to a non-academic.

Here's the interesting part: Trump picked up this linguistic style only in the last few years. While we don't like it, his voter base probably wouldn't have voted for him if he started his sentences "briefly stated". Know your audience, often the presentation of your argument is far more important than the argument itself.
well blockchains are about payments
> just because you are paying someone to do the complicated things does not mean it is not complicated

Of course, but that applies to everything, web hosting, email hosting, etc

> easter EU countries

Eastern

> what if you have thousands of tiny amounts

The card companies are eating your profit already in this case.
Google is fixing it (for them) with Fuchsia.
If the price drops between picking up an item and paying for it, I don't think anyone would complain.
... and people are up in arms in the UK over the fact that hospital parking is not free. Go figure.
I have actually modified Bitcoin for fun, and there are lots of tutorials on how to do it, but they do require basic knowledge of programming to expect much success.

Instead try search google for "altcoin creation service" or something similar there are many services. I have no idea how reputable they are or their history, but I have seen at least 3 different companies that do it.
Look at R3 Corda, transactions only shared and stored between parties involved, not the rest of the network.
Ask HN: Is a coder who can design more valuable?
Hi, the title isn't very clear but my question didn't fit there.
I would like to know your opinion, especially from business owners and people who hire programmers, designers.

I started as a designer in an advertising agency and later transitioned to front-end development. I looked at my dribbble portfolio today and had this dilemma whether I should have kept designing and getting better at it instead of becoming a half developer, half designer.

Are people like me in demand? I imagine big companies would rather hire someone profiled in one thing because they can afford to have Javascript developer only focus on javascript and not bother with designing. I currently work at a start-up where I do both. So maybe I'm fit for small companies where agile developing, designing and prototyping is needed. I never worked for a large corporation and don't know if there are positions that would benefit from my skills and experience?

// P.S: I'm new here and I can't figure out how to post this in the "ask" section. Sorry.
Try Not to Laugh – Impossible Challenge – Funny Clips
2x is an order of magnitude in binary scales, which is what you should probably be using if you're working with computers.

2^16, 2^32, and 2^64 are a lot easier to understand than 6.5 * 10^3, 4.2 * 10^9, and 1.8 * 10^19
Europe must wake up to the drastic consequences of a hard Brexit
> Having a baby should be expensive (...) This is especially the case in the US where individuals are extremely high-impact on the environment in terms of natural resources consumed and pollution generated.

So those who benefit the most from resource depletion (i.e. those who can afford the hypothetical Baby Tax) would be free to have as many babies as they want, while the poor, already impeded in most activities and burdened by the cost of livinng, would make a sacrifice.

Sorry if my reading is too harsh.
When we had our daughter I was annoyed that I ended up paying about £50 for parking for the week that recovery from the cesarian took.
Looking back I guess that was a bit short sighted!
Whatsapp Funny Videos – Funny Videos 2018
Why are you doing any kind of professional work, at such a low level, without an ICE?
You are arguing against overpopulation and nobody would disagree with you. What you should argue is that extortionate hospital bills and overall poor natal health care are an effective and humane way to fight overpopulation. Can you?
Looks to me like this is something that can be added to the take() function. After all, you're generating the crate yourself with svd2rust. I wonder if these "auto-crates" would be viable for submission to crates.io. This way you could solve that HW bug once and for all for everyone.
As described, you’ll almost definitely need to write a parser. However, if your type system is very similar to C’s you may be able to just lower from the AST to C and let it worry about semantic analysis and code generation.

The biggest loss is that a lot of error and debug info will be relative to the C rather than your language. This means the user will be exposed to the internals.

Probably the biggest win, is that it’s almost trivial to integrate C, and potentially C++ libraries into your language. This has been hugely beneficial to Nim, for example. They have written a full front end though so they don’t have the error issue above.

Like most things it’s a trade off.
So those who benefit the most from resource depletion (i.e. those who can afford the hypothetical Baby Tax)

Not if it was configured appropriately. In Sweden for example if you pay a fine for bad driving, it's not a fixed amount but a percentage of your income.
Same. I still wrap all reads and writes of multi-byte values though, with functions like toNet32() etc. which are just noops currently. Just in case big endian will get a revive by hipster CPU architects in a couple years...
This is interesting, and thanks for trying to clean up the protocol, but isn't this an orthogonal issue? The problems you are describing seem to be related to using an undocumented protocol, which is unrelated to using a custom serialization format vs building upon an existing one.

Building upon an existing, well-documented, and relatively sane serialization format (protobuf, capn't proto, message pack, json, heck even bencode for all I care) is usually a good thing, and so is decoupling the messages from the details of an implementation's internals. Language and framework internal serializers (such as Python's pickle or, apparently, Qt's serializer) tend to make it harder to achieve both goals.
Yeah, my fault. Sorry for that :C
Not necessarily (depends on how you define e2e). One could handle group messaging in a way where membership gives you full historical access vs. only when you were subscribed. In a corp environment you might even require that some groups remain server-side so you can instantly revoke access.

Allowing different security models for different groups would make sense, as long as you could communicate the security models to users and admins somehow.

e2e for direct user to user makes sense.
Funnily enough I agree with you but I have to disagree a little bit.

The truth is no one knows what the right level of care is even in many common situations.

Up front I'll say I'm a state and universal healthcare advocate.

But it comes with its own forms of waste.

Our first child had a borderline kidney tube measurement. We had 8 follow up scans costing the taxpayer $300 each.

Gradually I realised that the clinics had figured out a way to game the funding system, because at the level of deviation i saw I could find no research supporting the need for 8 extra ultrasound scans and in fact the only measurable risk was an increased risk of uti escalating to kidney infection which actually an ultrasound is not the best diagnostic tool for anyways.

In fact none of the doctors or technicians I talked to could coherently explain the level of risk or how the scans mitigated that risk.

What they did have was numeric guidelines and some measurement uncertainty. Plus a blank cheque to do more scans if they could justify it under current guidelines.

On the gripping hand they were $300 scans not $1200 scans like in insurance driven systems so...
Learn FFmpeg the hard way
> I've not seen anyone say that a "Sold by Amazon" product is counterfeit.

I've had it happen to me with Levi's, and word of mouth tells me this is a problem in general with big name clothing.
I don't need this. In most cases everything can be solved with different methods overrided by type. This is OOP way.

But it's makes language more complicated and what is more important - it makes harder to refactor, especially via IDE.
So my opinition: we don't need this and this doesn't have any value besides marketing.
Meltdown explained like you're five
I don't think we could ever make people from this generation understand how awesome and mind grabbing this game was back then. It was like nothing I had ever seen and I just wanted to watch it, mesmerized.
Is that a bad thing?

Also it's much more similar to Scala's "match" expression, which is also on the JVM and predates Kotlin by about 7 years.
Vala seems to be doing ok targeting C. I'd hardly say it's just for toys.
Don't count on it. Go decided against if-expressions despite them being much more common, so I don't see pattern-matching-like construction coming to go.
People keep claiming that this is a somehow established definition of “open source” (or Open Source or OpEnSoUrCe), but when I look at the people around me it seems a vast (silent) majority actually uses the term that way. “Open source”, in my personal “tests”, means “the source is open.” You may balk at this, but notice the elegance of the definition corresponding to the meaning of the actual words. Free Software is more commonly understood as what people sometimes religiously defend as the meaning of “open source”.

Then someone comes along wagging his finger online saying no, no, no, that’s not what that word means. Just like with “could care less”. You know what? I think the battle is lost. Language doesn’t work that way, and I’m going to call it: Open Source means open source, i.e. source is open. And we would do ourselves a great favour switching to a different term, because we’re swimming upstream in this one.

While we’re on the subject of poor names: the worst mistake Stallman made was calling his movement Free Software. He would have turned a strong undercurrent of PR in his favour [e: by calling it Freedom Software] instead of having to constantly battle the semantics of “Free as in Freedom of Speech, not Free as in Free Beer.”

When people say naming things is one of the two hardest things in programming, I’m wondering if it’s just because programmers are really bad at it.
Pretty much, but there is something to be said for responding with a golf club, baseball bat, barbeque fork, ice ax, tire iron, trench shovel, chainsaw, lawn edger, hammer, table leg, gaff, log...
I'm not talking about what Manning leaked, just that they were a leaker who the US government made an example of.
I sent away for a Submarine (plans, and most parts) when I was six, seven, or eight.

I waited by that mailbox for weeks. My mom finally told me I was robbed of $4.75.

It was a learning experience. I still think about the person who set out to dupe kids.
Italy launches investigation into Samsung and Apple for slowing down phones
I envy you guys to build such great technical product and being able to sell it.

I would love to know also the "business history" of the product: how you started, the first sale, the marketing approach and how you move from there...
>"I should go read Kant myself."

Be ready for very dry reading. If you want something more funny, I read a strange science fiction book by Adam Roberts, called the "The thing itself". The argument of the book takes Kant 'categories of understanding' literally.
I think it would look much better had he put a frame around it with binary ones. It would not only hint about how to decode it, but it would also make it more likely to be prime (ending with huge number of 1s) and hide the ugly noise.

I would also like to conjecture that there is infinitely many primes that look like a giraffe in binary, so it's nothing that unusual.
I usually think of it as: by which end do I read my number? but I agree it's confused me for a long time.
An Open Letter to the Perl Community
Google CEO: ‘I don’t regret’ firing James Damore
The bug is explained by Dave Theurer himself in this video: https://www.youtube.com/watch?v=41TbGi7u598&t=168

Like many games at the time the code in the ROMs had tamper protection. The basic idea is to detect if the ROM has been altered and if so assume it is a pirated copy and do something to cause the game to fail. Pirates could still make exact copies but they'd have to retain copyright notices and trademarks which makes them more vulnerable to detection and prosecution.

At the last minute Dave changed the position of some logos on screen but forgot to update the copy protection. When an illegal copy was detected the game would use some of the digits of the score obtained at the end of the game to zap bytes in memory if the overall score itself was within some range. This kind of random scrambling that only happens semi-randomly is better than copy protection that triggers deterministically. Imagine if the game did a checksum of its ROM and immediately said "Illegal Copy Detected - Program Halted". It would make it easier to find the copy protection routines and disable them.

So the first version that shipped thought it was an illegal copy and triggered the random scrambling. It so happens that sometimes the random scrambling would result in giving the player 40 credits.

There were other effects which players discovered and are listed here:
https://forums.arcade-museum.com/archive/index.php/t-79058.h...
It depends. with RS-232 (the old serial port standard) bits were transmitted least-significant-bit first, with the most significant bit sent last [1]. Getting back to hex dumps, here's one of some data:

00000000: 6C 6F 77 09 30 0A 66 72 65 65 09 31 32 32 0A 65 low.0.free.122.e

You can see it's ASCII. A little endian dump of that would be

e.221.eerf.0.wol 65 0A 32 32 31 09 65 65 72 66 0A 30 09 77 6F 6C :00000000

It makes reading any text in binary data a bit difficult.

[1] My first computer was a Tandy Color Computer, which had a serial port driven directly by the CPU. I learned pretty quickly which bit goes first.
You were initially intrigued and hopeful, but ultimately there was no explanation nor the content you were hoping for. Well, that's life for you!