skysight-inc/HackerNews huggingface dataset:
Speaking of ways to make transactions free for the user, is it possible to run a full node that verifies transactions and have it look at the type of ERC20 token in addition to the amount of gas and choose to always verify those ERC20 tokens that were made with Hexel even though they pay 0 gas?

Rather, I mean, I think that the above would be possible, but would those transactions be accepted by the rest of the network or do transactions need to be verified by more than just the one or few couple of full nodes that you run? I seem to recall something about the execution of every single smart contracts happening on all full nodes in the network but that seems strange (mainly because of how volatile any large scale network of distributed nodes will be in terms of nodes passing in and out or temporarily losing connectivity with the rest of the network) so I think I did not understand correctly how the Ethereum network really works.

Furthermore, if a full node could be run in the fashion I mentioned above then how many smart contract executions would it be able to facilitate per hour? Currently Ethereum is Proof-of-Work, so it would depend on your hashing power I guess. Perhaps the chance of finding a block is so small that you can’t realistically run the kind of node that I mentioned? And how about after they switch to Proof-of-Stake, will it be feasible then if not now? How much would you have to stake in order to be able to put through the transactions you wanted?
I remembered a demo showing HSTS's potential tracking capabilities, and it doesn't work well if HTTPS Everywhere is enabled.
That’s not lobbying. Lobbyists don’t give money to candidates. They do events, write blueprint for complicated laws etc.

There’s a lot of shady shit going on, and PACs are basically legalized bribery. But it’s important to be a bit nuanced when you want to effectively argue against these practices.
10 Amazing Social Media Marketing Tips for Beginners (Updated 2018)
I thought iPhone were electronically secure, it seems they are not. I thought the FBI had to just do some Xray of some chip to read some ROM thing.

Sometimes I wonder if real security is really and theoretically possible, or if it's just engineers who never manage to achieve it because designers want things to be usable for consumers.

What ever happens it doesn't seem really secure, consumer oriented device do exist. I wonder if there are android devices who do a good job at that, and what's the status of the security of android device in general, I would guess it's not better.
>QE is just repricing risk. It doesn't really have any real economic impact.

That's where things get interesting.

Let's imagine, for a simplicity sake, that there are 3 types of assets -- government debt, apple stocks and tesla debt.

If I'm sitting on my 1 trillion of government debt and I want actually switch to apple stocks (or maybe just get dollars and eat pizza and drink margaritas), I need to sell it to someone who will put his trillion into government debt. So, for me to "untie" my 1 trillion in government bonds and free it for consumption, someone has to "tie" his trillion dollars into it.

Now, fed enters the market and buys that 1 trillion from me as a part of QE. It does not need to sell his apple stocks or delay consumption and save that 1 trillion.

I now have dollars in my account, and can use it to buy, say, trillion of tesla debt, because I love Elon Musk.

Musk, in turn, can look at the market and observe that it has a huge appetite for tesla debt, and it was not the case one year ago. So maybe it make sense to issue one trillion dollars worth of bonds and build Gigafactory-2 and another car factory, and he does exactly that.

Are we still sure that when Gigafactory-2 is being erected and people are hired for a second car factory, "QE have no real economic impact"? It's not obvious to me.
Cannabis Verified
>> retweeting certain influencers for hours on end and indiscriminately replying to other political figures with memes and slogans

My twitter feed has became much more civilized after muting retweets[1] from anyone I follow. This leaves only genuine comments & discussions. I can again focus on what people are saying and toxic accounts that previously slipped through in the noise become visible allowing me to weed them out.

[1] https://medium.com/@Luca/how-to-turn-off-retweets-for-everyo...
A little further down it says “Luckily, even without JVM support, the Scala compiler can perform tail-call optimisation in some cases.”
Well, if you want to "contest most the points in that page." I suggest you do so on substance, rather than by going after the person ?

There is a difference between "being ignorant" and "ignoring".

I don't think there is much in modern HiPerf computing I'm ignorant of (hint: Guess who's writing one of the most intense HiPerf scientific code right now), but there sure is a lot of it I'm deliberately ignoring with respect to Varnish.

TLB flushing, instruction caching ? When your CPU is 50+% idle most of the time, that's not really what (should) worry about.

And the "downright difficult job of an OS scheduler" isn't really that hard when all threads a waiting for I/O, wake up for a few microseconds, then go back to waiting for I/O again.

And so on, and so forth...

Again: Your total lack of actual experience running Varnish shows.

You should try it some day, you might actually find it useful :-)
I don't know iOS inernals, but to me it looks like they started using multiple threads for the UI? Smart when you want to update multiple areas of the screen at once, buggy when multiple areas have to sync animations?
This is going to depend a lot on which non-drivable city you choose. I thought Seattle was particularly expensive?

I lived in Montreal and paid C$675 / month for a 1 bedroom apartment 5 minutes from a metro station and another C$79 per month for monthly STM pass. Throw in a few trips outside the city with a rental car and we're still under C$10k.
After the primaries they were hired by Trump. Trump is the president now.
> We modified WebKit so that when an insecure third-party subresource load from a domain for which we block cookies (such as an invisible tracking pixel) had been upgraded to an authenticated connection because of dynamic HSTS, we ignore the HSTS upgrade request and just use the original URL.

Could someone explain this?
> That also means that you can't have mutable values, static types and subtyping in the same language

Yes you can. You just need to make a clean separation between mutable variables and immutable variables. Then mutable variables must be invariant, and immutable variables can enjoy subtyping.

Alternatively, classify mutable variables further and make references carry information about whether only reading/writing is allowed through this reference. Then read-references enjoy the usual covariant subtyping, and write-references enjoy contravariant subtyping.
In Scala, partial function is a subtype of function, even though it would seem like the opposite should be true, conceptually.
Kuhn's model is not a prediction, it's a statement of fact how human accepted knowledge moves sometimes forward in huge paradigm shifts.

Everyone "knew" that the speed of light was constant, everyone "knew" earth had to be only couple of thousands of years old (e.g. Lord Kelvin was a firm believer in only a thousands of years based on his physically based estimates), atoms where quite a hard bargain to sell as anything as computational tools until you got some computations and Jean Perrin to do some experiments, https://en.wikipedia.org/wiki/Jean_Baptiste_Perrin, continental plates where supposed to be solid fixations, until they weren't, etc.

It's nice of Kuhn to point this out. Maybe it's convenient for administrators or something to realize accepted facts tend to change - but it gives absolutely no clue on how exactly move science forward.

I don't really understand the huge uproar about Kuhn - his ideas should be "obvious" to anyone familiar with history of science. But maybe as professional management and pathological "professionalism" made it's headway in his time it was nice to point out that Gant chartable progress was not all there was to it.
Introducing Phaistos KMS; GDPR and Encryption Requirements
Shitty animation no one notices is nothing to worry about.

Those utf8 bugs that kill your phone on the other hand... How many of those had Apple had by now?

https://www.youtube.com/watch?v=HUE9mCN7sek
Maybe it would be useful to mention that debugging can be more difficult when using tail calls as previous stack frames are not available.
Correct. Which is one of the reasons many people who transition to management from tech suck at it: Humans are not machines. If they have problems outside their work those problems will leak into the work and will influence it. So, you better try to help them if you expect them to work at their best capacity. Or you ignore it, bleed people out and then cry that no one there does good work, everyone quits all the time and you are such a misunderstood poor manager.

The idea that you can just hire people who will never feel lonely (or have some other problems in their life) is in itself quite amusing.
Can you look here -- https://news.ycombinator.com/item?id=16606140 for my counter-argument?
My first launch as an IndieHacker is featured on Product Hunt home-page
Why Russian hackers aren’t poised to plunge the United States into darkness
Feels good, tastes good, is good. Can't fight with that.
The entire value of HN is that it’s owned, guided and actively moderated by YC.

An Ethereum-based alternative would lose that aspect while also costing money and being very slow. I can’t imagine paying for what is effectively negative value.

The test for blockchain “dApps” is this: is someone so desperate to have thing X decentralized that they’ll pay for it in both real money and usability inconvenience? If so, it’s a dApp candidate.

In the real world, the only thing that seems to pass this test is some types of inter-company ledgers.
> No wonder why China is fiercely anti-American

You know what happened during the Cultural Revolution in China right? Yet hardly anyone is talking about it.
Formerly discussed here https://news.ycombinator.com/item?id=16594694
I didn't get that from the article at all. I actually like what the article is doing a lot, and I wish people would take the same approach more often. When arguments about high-level concepts like inheritance go poorly, it's usually because everyone involved is talking about something slightly different. Maybe a supporter of inheritance likes the way it lets them think about their program (ontological inheritance) while a detractor doesn't like how it forces each subclass to carry along the baggage of its superclass (implementation inheritance). These people are not going to have a fruitful discussion without understanding that they're talking about different things.

The concept of "types" in programming languages is another great example -- there are syntactic type declarations, memory-level types to specify which bytes mean what, things like typeclasses or interfaces which give you runtime polymorphism, the "type" you have in your head when you're thinking about what kind of data your code needs to handle... before you even start to have a discussion, you need some idea of what you're talking about.
They do what they say on the tin. It's just that easy. If you're a small business owner, go get ignored by ADP for a couple of quarters (and pay them 2x Gusto's rates), send the late-filings notices to your increasingly-exasperated accountant, and bask in the warm indifference of a massive corporate behemoth who (thankfully, mistakenly) believes they're the only game in town. Then switch to Gusto, and try to describe to us how different it is, without glib hyperbole such as "...everything. And it's amazeballs!"
It's not just pooping. If you hang around East Asians you might notice they squat all the time. Sitting at a table, on a sofa, pretty much everywhere. When I think of my memories of my grandmother, guess what, she's squatting.

I only noticed the difference when my western wife pointed it out. In the west people barely ever take up this position.

You should try it, there's something very comfy about being all scrunched up. If you can't balance, try doing it in the corner of a sofa or with some other support.
Just be aware that this was my first proglang project as well as my first Haskell project.

What worked well was unit testing and Haskell. What didn't work as well was inventing adhoc solutions instead of standard compiler techniques like DFA/CFG, and not writing more and better DSLs (in the form of monadic APIs) since they're cheap and convenient.
This is because by accepting data after construction with setSize, Rectangle is now invariant as a type. Immutable container types are covariant, because data only comes out. So you can apply LSP really only if you are willing to accept immutability.
That's not what's being discussed... the author gets themselves into situations that can easily turn irritating, like hanging out on StackOverflow or answering noob questions on chat. The solution is for them to take time out from that, not become a zen monk.

In general it's a valuable skill to have self control, but it doesn't work perfectly, so it's best to avoid having to exercise it all the time and pressuring oneself to always react "correctly" through self-guilt.
Apple was once known for its attention to details like this. That attention made iPhone and iPad such hits.
Most people are unaware of the true mechanism of money creation, therefore don't understand how the current mechanism and its (lack of) constraints affect society, therefore don't see the potential for societal improvement through systemic change around money creation and allocation.

Prof Richard Werner is worth listening to on this topic. [1]

I'd also recommend Steve Baker's heroic speech in UK parliament. [2]

[1] https://youtu.be/9bQkfN_pe44

[2] https://youtu.be/bXOkmD8Eozs
Oh no, not a glitch that needs to be slowed down about 10 times to be anything more than unnoticeable. Those are the worst!
EU Visa Policy: Commission puts forward proposals
> you cannot use a square everywhere you can use a rectangle (for example, you can’t give it a different width and height)

Can someone come up with a better example here? Intuitively, I would say, "Yes, if you ask me for any rectangle, and you reject a square, you are wrong." If you say you can use any rectangle to do your thing, you should absolutely be able to also use a square.

Why am I not convinced with the given example? Because fundamentally, I don't think "set the width and height" counts as something you can do with a rectangle. A rectangle has a width and height, and you can't just will it to have a different width and height and expect it to obey you through some force of nature. What you can do is construct a new rectangle and destroy the old one in the process.

In other words, if you expect to change the shape of the item, you should not permanently identify the item by its shape. The given example is a bit like saying "The superclass Animal has a method becomeCat which turns any animal into a cat." and then feigning surprise when your code breaks for any non-feline animal.
That's not true. Large percentages of websites run on AWS hardware and a small number of big CDN providers. It is centralized.
Moving a fifth of all HTTP traffic is not a meaningless anecdote in my vocabulary.

And engaging in a debate about irelevant technical details applicability in Varnish, with a person who clearly has never actually run Varnish ?

I have better things to do on a saturday.
Fit to be pregnant
Yeah, sorry about that. Was showing in my feed so I just shared it from there. Should have tried to find a better source.
Only if Stormy accepted AMEX's card processing fees.
I always find that the common example of Rectangles and Squares leads me to a different conclusion. It assume that the best way to go about is to only have a single sideLength method, but from a data structure perspective it seems more obvious that the Squares class substitute instead the validation method by adding constraints that a valid square only exist when both sides are equal. Rectangle class must already have a validation method that check that each side is greater than zero, so it seem like the obvious place to define a square. Any additional methods or properties like sideLength would just be added convenience and optimization to access the width and height at the same time, but which is not required for anyone substituting one for the other.
I have a different view. Unfortunately it's not possible to make a real scientific experiment to validate your or my assumption.

My thinking is that QE is quite inflationary.I think that after 2008 crisis we were expected to have a long period of strong deflation (let's say, with prices falling 4% each year, for 8 years straight), but QE reverted that and we had 1% of inflation or something like that instead. So, formally we are in "mild inflation" ground, but in fact the QE effect was quite dramatic. We just can't observe it because we don't have a "control group economy".
I'm not sure what you would want to see. The original post said, without evidence "vanish is unusably slow". Plainly, many large websites are using it successfully. How would one disprove accusations of slowness, without evidence, citations or benchmarks?
It follows my observations. If you go to areas where the rules for cars etc make no sense either, you get a situation as seen on youtube when you search for traffic in India.

Driving in those places is like riding a bike in more rule-abiding places.
'text-display' should be triggered on 'animation end', surely multi-threading wouldnt mess with that as it's an async/event-driven thing (I know nothing about multi-threading)?

...or the text could have an animated mask to reveal it in sync with the bubble animation.

Either way, fairly basic stuff to implement.
That sounds like the dreaded "Long TTL hit-for-pass object" issue.

The situation happens when an object which should be cached gets hit with a request which causes 'pass' (typically because of headers tested in builtin.vcl) and then VCL (by accident) setting the long TTL for caching on the "hit-for-pass" object.

It's an ugly corner case which we have struggled a lot with finding a solution for, which doesn't have worse side-effects than the problem we are trying to fix.

I think it is mostly a solved problem from Varnish 5.
If you have been an apple costumer for a long time you should recognize this pattern.

Once the product gets too complex and competitors start closing in attention to details will be replaced by bugs. It's like apple can't do agile development of their life dependent on it.
This is interesting.

I find that inheritance as a code reuse tool pushes developers in the direction of taking whatever class they have and tuck some new properties to a subclass.

On the other hand, if you realise that a square is a rectangle with the same width and height, why should you bother at all with creating a new class? A new constructor (or an helper function) should be all you need
>I went through the US educational system and while we know about the Vietnam war, the protesters, this is definitely not the picture of the war that we were given.

I just want to be one anecdotal voice to disagree with this statement. I went to a city university and my American history class 1945-present included a curriculum with media such as:

A People's History of the United States

The Fog of War (documentary)

Hearts and Minds (documentary)

Last Night I Dreamed of Peace: The Diary of Dang Thuy Tram

Gary R. Hess, Vietnam: Explaining America's Lost War.

Nick Turse. Kill Anything that Moves: The Real American War in Vietnam.

I know some of my friends took courses where the Vietnam War was referred to pejoratively as the American War. We learned about My Lai in high school even. Where did you go to school that the Vietnam War was glossed over in such a pro-American way? Maybe it's a regional thing? I was educated on the east coast.
Thanks for the example. Yeah this is another case where people have trouble understanding subtyping relation and which type should be the subtype of which.

And I agree with you that the opposite should be true conceptually, because if you ask yourself, "if a partial function is being demanded, can you use a function instead?" you might answer yes.

Alternatively, think of a partial function conceptually as a function that returns an option type, i.e. in Haskell syntax

type Function a b = a -> b
type PartialFunction a b = a -> Maybe b

and with the obvious addition that "b" is a subtype of "Maybe b", then we again conclude that function should be a subtype of partial function.
Tail recursion in Python
Oops, sorry - I had actually fixed that, but apparently didn't deploy it properly (it's at whereisscihub.now.sh as well now, which makes it somewhat hard to keep track of). It should work properly now.
5 Best Alternative Ways to Earn Bitcoins
In a spiral staircase the stairs 'rotate' around a small diameter centre pole. They save a lot of space but seriously limit access for large items. They can be useful to access a loft space for example, where you want something better than a ladder but don't want to lose much floor space below. The small diameter centre pole seriously limits the way timber can be jointed. Long lasting timber joints need ways to deal with shrinkage, and therefore are better with a large contact area. Spirals are better made out of metal for this reason.

Most of the images here are a much grander form of stair that 'rotate' around a large stair well leaving a large open space in the middle, which makes it easy to move furniture up by overhanging the handrail or even winching up the middle. The well can be circular or elliptical at the turns, and often have straight flights between. Since building a set of geometric stairs is complex and time consuming it is unlikely that you will see them outside of grand hotels and stately homes. It is likely that the simplest ones built in a traditional way would cost well over $100k. I struggled to find a reference that explained the true complexity outside of this classic book

https://books.google.co.uk/books/about/Modern_Practical_Join...

Although here is a basic diagram here showing the curved strings and open well.

http://year3shopfitting.wikispaces.com/Geometric+stairs

Of course it is true to say that either type could have been made poorly and require maintenance, it is less likely that a common wood-butcher would attempt the second kind.

Disclosure: I can use the term wood-butcher as in a former life I was qualified in that area!
It's a fucking joke, their way of protecting is to say, "app developer, you're not allowed to do these things.". It's like a bank who leaves people's money in a field, and "protects" it by putting up a sign that says "dear visitors, you are not allowed to steal this money.".
So it is visible for like 50 milliseconds during the animation and not at all looks bad when you actually see the animation happening in real time.. Yeah, APPLE IS DOOMED!

I'm not creating excuses but this is ridiculous. As if there is a shortage of Apple stuff to complain (like shitty mbp keyboards breaking all the time, siri the moron, fucked up security issues popping up weekly..) this is making headlines.
I’m not a lawyer, but quoting from the Wikipedia article the DMCA “also criminalizes the act of circumventing an access control, whether or not there is actual infringement of copyright itself.” You could argue that you hold copyright on for example a photo you’ve taken, and the passcode is the access control method.
Stretch your calves. General strength training would also help. Tip: Don't relax though, try to hold the position with active muscles and somewhat straight back. Then you will also get stronger and burn fat/energy while also gaining flexibility! It will help with getting your socks on in the morning and general fitness.