skysight-inc/HackerNews huggingface dataset:
Portugal is moving to digital receipts for individuals in 2019. If you give the cashier your VAT ID, no paper receipt is produced, and you may download the receipt from your IRS dashboard.

Anonymous paper receipts will remain valid, indefinitely (i.e. they are not being phased out).
I also despise those features, but I agree wholeheartedly that these decisions push the money forward
the clerk handed across an empty plastic cup, thumping hollowly on the counter, another job outsourced to the customer.

I seriously disagree that moving the drink fountains out to the customer is a disadvantage to the customer.

I like that I can have more or less ice. I like free refills. I like that I could sample bits of other drinks or intermix.

McD is mostly irrelevant to me nowadays, as all McDs around here are horribly run. The "fresh beef grilled to order" claim is an outright lie, and hygiene is problematic.

The menu board thing is also fatal to me. One has to wait 90 seconds for the full menu to rotate through, and even then, finding sandwich-only prices is like playing a bad video game.
It would seem simpler to just put in a lot of batteries and a pure-sine wave inverter.
By losing lots of users over data privacy scandals in the month before?
Name one place on Southern California that breaks 25,000 people per square km. It’s all low density.

Manila by comparison is 71,263/km2 in it’s core. https://en.m.wikipedia.org/wiki/Manila
I have a view from both sides of this issue. I have school-age kids and my wife is a math professor (though college level, not pre-college). As a parent, I'm aware how important in life it is to have a good college on your resume. And how much more important it will be 20 years from now. I have the fortune to be able to show a STEM degree from a well respected (at leas in HN world) institution; this gave me a huge boost in my career. The odds to be admitted at such a university nowadays, if you are educated in the US, are lower and lower each day. Every single day, the US gets a little bit behind in the education race. That's why lots of upper-middle class parents are totally obsessed with their kids academic performance. Tiger-parenting and all.

Now from the other side, my wife is a model of efficiency. She receives lots of emails from students disappointed with their grades (even today she got some; we are in post-exam period). She's very calm about it. She knows she did her job well, so she simply doesn't care about whiners. She never had to deal with an escalation though (i.e. lawsuit, arbitration, etc).

I guess my point is that teachers have to simply get more thick-skinned. Just do your job, and let the whiners whine all they want. They are scared stiff themselves after all.
Cool they made a custom edition of a quantum circuit simulator that introduces concepts one by one. It's based on this general purpose QC simulator https://github.com/Strilanc/Quirk#examples (check the animated gif demo; very powerful stuff)

Lol... with V8 and SpiderMonkey getting faster and faster, quantum computing simulations in js are probably as powerful as anything that can be done in a lab these days ;)
A logical but morally flawed view. All services for both the congress and the executive branch (with the exception of the absolutely minimum required) should be stopped at this point. Cars, gym, Internet, TV, etc. No TV in the office of the congress, none in the White House. Meals should be cut to Army rations for the president, etc. We as citizens should demand this. In a rational system the failure of supply should trigger an election. The least we can do here is remove all but the most required items. A sensible solution would be for us to pass a law that requires funding to continue based on the last levels. I am tried of our leaders playing chicken with the lives of others. Our government on both sides lacks consequences for their actions.
Tubes, cables now this. It seems more like religion or superstition than technology IMHO.

My advice to everyone is to never ask a hard-core gamer what he's tweaking when he's got his favorite rig open, and cards scattered all over the workbench. There's enough technological superstition in some of them to summon the devil.
Any specific complaint with JavaScript as the choice? The biggest downside I'm aware of it's the lack of direct support for 64bit numbers. What language would you have preferred? Python maybe?
The situation is reversed in the USA. In the US, the wealthy and middle class live in suburbs. The poor live in the "inner city" which essentially is a euphemism for ghetto.
I was able to make very good counterfeits in the late 90s (I actually never sold any, just a bunch of friends had a competition to see who could make the best fake):

1) Erase the surface of a real MtG card (using one of those erasers that were roughly the consistency of thick gelatin it could be done in about an hour).

2) Scan the card to be duplicated

3) Split out the black channel using photoshop

4) Pattern fill the missing black channel in photoshop. Hand fixup any obvious bad details

5) Print the color on a dye-sublimation printer

6) Print the black on a laser printer

7) Put a thin plastic coating on top

Step #7 was the trickiest manual step, but could be omitted if the card was going to be in sleeves.

I was never able to get the right "feel" by making my own two-ply cardboard, but somewhat surprisingly the closest I got was my first attempt of two index cards rubber-cemented together.

Note also that Revised-edition cards lacked any full bleed, and the text backgrounds were quite simple. It might be harder today.
ya ill stop my hotjar subscription next month and use this. ill save over 500 dollar every month
As someone who went to a University you never heard of, I'm the highest paid in my group. I wont forget this in the future for my children.

Your skills are more important than the prestige of your school.
A surprising amount of people (at least to me) think driving on any road and parking at the destination for free is their inherent right and such people will naturally boycott and lobby against any attempt to charge for routes or parking.
Obviously don’t spend $1000 on a normal passive HDMI cable, but I’ve found that increasingly the all-or-nothing argument doesn’t work for some reason. I recently had to upgrade all my HDMI cables to get 4k HDR video working reliably. Before upgrading, the video would work, but I would occasionally see white “sparkles” on the video output. Googling this problem led me to many people recommending upgrading HDMI cables if you have very old cables.
I don't know, he seems to be right. Most people would ignore what they know to be good for them most of the times when it counts.

Some of the examples that I can think of are

Exercise good for health is known fact.
Eating healthy food.
Global warming consideration in day today work.
Cigarette smoking.
Continuous study vs last minute study for exams.
- Blank, white page when JavaScript is disabled

- Basic functionality broken when JavaScript is disabled

- Unnecessary use of iFrames and other subdocument elements

- Loading megabytes of libraries and scripts for a basic menu animation that could be done with CSS3 or plain JS

- Taking me off-domain to log in - the logged in area should be dashboard.example.tld, not exampledashboard.tld (mainly banking sites do this)

- Requiring logging in after visiting an email address verification link

- Sending email verification links, I would really prefer verification codes that don't require visiting a link

- HTTPS mixed content errors

- Messy HTTP response headers, such as invalid values, duplicate headers, or default values for everything

- No easy way to find a contact method for the security team, such as the RFC2142 security@ email address, or security.txt
I had a math professor at Berkeley who used to be a high school math teacher, but started doing an MS just so he could teach at community college and not have to deal with parents. Worked out well for him, he ended up doing a PhD and on the faculty at Berkeley
I say coal plants toll on environment is too costly, not "necessary".
All electric cars in China sends real-time location to Chinese government
Larry Ellison is a visionary. Seems like all visionaries have been called liars by some. Steve Jobs is said to have had a “reality distortion field”. Elon Musk is a visionary. Are they all “liars” or do “visions” seem like stretching of the truth to us? Are visions simply extensions of the “truth”?
Wrong place to post this.

HN loves their government regulations.
They've given themselves enough wiggle room to never roll out Level 5 automation (and thus never admit they were wrong about what hardware it would require.)

>"Please note that Self-Driving functionality is dependent upon extensive software validation and regulatory approval, which may vary widely by jurisdiction. It is not possible to know exactly when each element of the functionality described above will be available, as this is highly dependent on local regulatory approval."
A grade is a record of the knowledge at a given point in time.
Perhaps buyers nibble at the ask. Perhaps a big order slams through. Or perhaps the posted liquidity is canceled without any trading having happened. Whatever the case, the number of shares sold is exactly equal to the number of shares bought.
It's empathy I think, games are extremely capable of that.
No, the mandatory binding arbritration would be very small.
The Senate passed the bill 100-0. The lack of compromise is not the problem. The problem is that Paul Ryan is retiring and he refuses to bring the bill for a revote because there's no consequences at all for him.
Digital transmission/storage ensures the signal is not affected no matter how much noise is on the line (well, as long as it can be transmitted at all...)

Now, what I think you mean is that the copper in the cable picks up noise either from the device on the other end or from the surroundings and that has the possibility of affecting the DAC.

Even moderately well designed receiver should be able to galvanically isolate itself from outside sources of noise without having to resort to fiberoptics or wireless. It's just couple of dollars max for extra few components on the board.
In my experience, the parser definitely needs to be a library, but I'm not sure about the runtime.

There are a few places in POSIX where the parser has to be invoked recursively:

- command sub: $() and ``

- eval

- alias expansion. (I found some divergence in how shells implement this, but it does involve the parser.)

In Oil I also used the parser as a library in several other places:

- For interactive completion. Bash does not do this, and I don't believe any other POSIX-ish shell does. I wrote a bit about that in the latest blog post [1]. This turned out really well.

- For history expansion, because unevaluated words have to be picked out of previous command lines. Bash does not do this either.

Consider:

$ echo ${x:-a b c}
a b c
$ echo !$
echo c}
c}

IMO this is fairly nonsensical behavior, and the underlying cause is that bash chooses to write duplicate, ad hoc parsers for its own language! There are many cases like this with completion, e.g.

$ if ec<TAB>
$ for i in 1 2 3; do ec<TAB>

Bash isn't smart enough to complete "echo" in these cases, because it doesn't know it's in the "first word' state.

It also chooses to treat = and : as completion word delimiters, even though they don't delimit normal words, and this causes a lot of problems that the bash-completion project patches over in a very ugly fashion.

----

As for the runtime, one problem is that the shell inherently modifies global process state. So there is a limit to the abstraction you can provide over it. For example consider this program:

{ echo hi
ls /
echo bye
} > out.txt

There's essentially one way to implement this with Unix system calls, but you couldn't have two different interpreters running them concurrently in the same process, because the process FD tables would get stomped on. (i.e. my definition of library is that you can make multiple instances of it with different parameters.)

----

The general idea of a shell that conforms to POSIX but provides a better interactive experience is a good one. (That seems to be the feedback on the Fish Shell 3.0 thread on the front page).

Although it is a huge amount of work! I hope that I will be able to metaprogram / compile Oil into something more compact, but that's an open problem now :) It is shaping up to be a better interactive shell than I originally thought though. Treating the parser as a library was a big win.

(Among other reasons, it's not a library in bash because it uses many global variables.)

[1] http://www.oilshell.org/blog/2018/12/16.html
It doesn't matter how good your DAC is if your signal path includes scratching the sound waves into lacquer, stamping it into vinyl and scraping it with a stylus. Compared to digital distribution formats, it's utterly Rube Goldberg-esque.

Performance
Microphone
ADC
Processing
Mixing & mastering
DAC
\
\
\
Scratched into lacquer
Electroplating
Stamping into vinyl
Scraped with a stylus
Phono amplifier
/
/
/
Amplifier
Speakers
Room
Ears
I thought Dan wrote react dnd in typescript.
why would i need someone so insanely talented to teach 5th grade algebra.
Assuming this child is 15 or older and not developmentally delayed, a parent should absolutely not be intervening for the difference between an A or an A-

This is how you get kids with parents who go to job interviews with them. I actually had to teach a kid I went to undergrad with how to grocery shop because "I never had to do it myself"

Kids need to learn how to be their own advocates.
That's understandable. Recent versions of windbg have improved a bit in that regard. Most of the new functionality has been added to a more regular data model that you can browse through, and querying the data can be done using a "linq style" syntax so you can use programming knowledge instead of learning some arcane debugger commands. You still need to know the basics of flow control, but the shortcut keys for those are common with a number of other tools (e.g. F5 to run)
Some is from research into freelancer issues (like https://dievolkswirtschaft.ch/content/uploads/2017/03/16_Giu...), some from participation in freelancer groups in Vancouver and online. Anecdotal. That's part of the curiosity. As more people go solo a lot of traditional support, from social to emotional to financial, is eroding.

To me these are still the highlights, and the best places for solutions, but I'm curious where other people see the trends.

Back in the day a lot of these problems were solved with the guild system. People were brought into a network, trained, connected to opportunities and support. That doesn't really exist for a lot of freelancers.

I'm curious about people personal take and what that says about freelancing in general.
Out of curiosity, why do you not like those features?

To me, "seen" is a feedback mechanism. When I send a message to you, I don't always need a response, but I do usually want to know that you saw the message -- sort of an ACK.
But to a first approximation, the numbers are the same! If anything, some of the biggest moves happen when a single (big) buyer or seller is active. It’s all about the prices participants are willing to trade at, not an imbalance of one group vs another.
Most computer programs don't rely on brute-forcing hashes to produce results.

Programs that don't require brute-force commonly use many times less energy than programs that do rely on brute force.

This extra cost is often seen as wasteful.
Turn two different machines off and on again? Doesn't sound like a coincidence to me, unless some other shared hardware (network, etc) is causing the problem.
My worst teacher bragged about how great of a teacher she was, and that she rightfully deserved 120k/yr.

She had a PhD, Masters, etc...

She would teach 2/5 days a week, and tell us to read the text book the other 3/5 days.

And her answer to anything libertarian was- That's fine, you can just build your own road, and put out your own fire.

Looking back on it, and believing her overly simplistic answers, I think a youtuber could have done a better job.
Good. Seriously. It's good that you're not a racist scumbag.

But the actual quality of you as a human being wasn't the issue. The issue is that, if you're going to block speech by scumbags, there is someone who is going to consider you a scumbag. If you allow speech from scumbags to get blocked, then you need the people controlling the blocking to have the right ideas of who is a scumbag. Will the right people be the ones making the decisions? Will they always be the right people - not just this year and next, but always?

I'm not willing to condone that power, because it can be used against me, not just against the people I want it to be used against.
>It was mostly for people showing off their cars and loud music.

While it's seems like a shoddy observation, it's surprising how much car usage isn't really about transport but about status or psychological relief. "Going for a drive" is equivalent to "going for a walk" in much of the US.
Because a lot of people are not like you. If someone saw that I read their message they might immediately expect a response, and be left wondering why it took hours to get back to them (and react negatively to the delay). Not everyone treats messaging as the async thing it is.
But it isn't. The question was "X is trying to get into Princeton - an A- isn't going to get her in. What extra credit can she do to make this an A?" Presumably, the extra credit means the student will learn more. Hence, it is not zero-sum. And it actually seem fair to me; the student that works the hardest and scores the highest grades deserves to win the spot.
I will agree that people do not typically act rationally, the entire field of economics learned this lesson the hard way.

I think people act very strategically with their political careers, and while they may make blunders they are caused by bad luck and incompetence more than a lack of rational thought, especially at the national level.
Parents aren’t customers in a government school. Customers pay money. Parents are stakeholders, along with teachers, the teachers union and local politicians who compete for teachers votes. Children are not stakeholders because they have no power and their opinions are irrelevant.

A government school has an enormous advantage over private schools in that it’s free at the point of use. You can be a lot worse than the competition if the competition is expensive and you’re paid for by tax money.
I think Seattle eventually activated the local EAS over the radio during the 911 outage, my parents mentioned hearing it, though it was very scratchy and not very intelligible.
There's a line between caring about your children and helicoptering and/or demanding special treatment for your child.

If you care about your children, you teach them to work and study, or at least approach the teacher on their own for things like extra credit.

The teacher probably has 20+ students. How much extra time per student do you expect him or her to suck up so that everyone's special child can make it into Princeton?

Plus, isn't the point of grades a measure of ability? If we can just erase any bad grade at a parent's discretion, what's the point in having grades at all?

The whole system in my opinion is rotting. We seem to be increasingly reluctant in the U.S. to measure merit - but in this case, if nobody loses, then nobody wins. Sometimes that's life. Princeton only has prestige because it is selective, and that selectiveness depends on some kind of measure of entrant ability.
Cool stuff!
Love the modest headline on http://fishshell.com/

> Finally, a commandline shell for the 90s

It makes me wonder, how would a shell for 2020 look like?
Google helps AI learn to book flights on the Web
Best new photo editors for Ubuntu/Linux
Is there any hard / up to date data? I could only find this figure on tertiary education by country from the OECD (and the do not cover Iran), however Turkey isn't doing bad at all here.

https://data.oecd.org/eduatt/population-with-tertiary-educat...
Essentially what everyone else does - distributed systems with load balancing, load balancing and more load balancing. And if that goes awry, triage - where they prioritize messages and simply timeout and drop the lower priority messages. Of course the Messenger team is lucky in that they can drop messages since your family and friends missing a "Happy New Years" message isn't the end of the world. Other systems ( such as finance ), aren't so lucky. Drop a few transactions or apply them out of order and it is the end of the world. Was an interesting read, though it would have been nice if there were more specifics but I guess Facebook wouldn't approve that.
If you believe in the placebo effect, then perhaps the nonsense can have a verifiable effect!!!
Facebook get its share amount of bad PR (some are well deserved), but we shouldn’t dismiss amazing engineering work because of those. This is a technical piece that highlights solutions to problems not many out there get to solve.
It’s pointless to argue over the specifics of someone else’s anecdote. I’m speaking generally.
No one should be allowed extra credit unless they are failing.

You should learn more but doing it for extra grades misses the point. These kids learn you only learn for rewards.
Is it a joke?

Does the average customer care more about saving $10 or protecting someone's copyright? I'd argue given the how prevalent copyright infringement by people has been that they'd rather save $10. So Amazon is doing exactly what customers want which is cheap goods irrespective of everything else.
Cant wait for akward new yr wishes from ppl I haven't heard from since last new year.
> The EPA proposal is open to public comment for 60 days after it is posted in the Federal Register.

Proposal: https://www.epa.gov/sites/production/files/2018-12/documents...

How To Comment: https://www.epa.gov/mats/how-comment-proposed-revised-supple...
Well it's a pay issue too isn't it? If a family paid for the teachers time for extra work, then I'm guessing the pushback wouldn't be as bad.
Others have already given examples of how languages with 1-indexed arrays handle this without awkwardness: end-inclusive ranges. I'll just add that end-inclusive ranges are the standard in natural language as well. For example: "Ages 2-4," "please read pages 16, 20 to 25, and 28 to 29," "1941-1945."

0-based indexing makes sense to me in C where arrays are just pointers and the index is an offset, and doing pointer math is a regular part of the programming experience. But most languages have come a long way from that, and collections such as arrays are much closer to a natural metaphor (a list of things). As such, natural ranges (inclusive) seem more appropriate to me.
In an actual teaching context, a comment like that can make sense.
We don’t accept that. Lots of people think that a grade is meant to represent performance on or by a date, either performance in an exam or performance on some weighted combination of exam and homework.

I’m honestly unsure whether extra credit is even a thing outside the US and it’s near abroad in Canada. I don’t think there’s a single country in Eurasia without a school leaving exam with summative assessment, some of which have a coursework component.
And the board let the financial wizard violate the old principle [1] of not taking a fence down until you fully understand the reason why it was put it up in the first place (i.e., don't assume that your predecessors were stupid just because you don't yet understand why they did what they did.)

Really sad results there, throwing away a sound investment & body of know how, for worse results everywhere, and less safety for everyone.

[1] https://www.chesterton.org/taking-a-fence-down/