skysight-inc/HackerNews huggingface dataset:
> more readable

'More readable' is subjective. It's clear that Guido and much of the Python community believe that FP is less readable, less pythonic, and that viewpoint is exactly the sort of hostility towards FP that I'm talking about. And in no small part this is a self-fulfilling attitude, e.g. "python lambdas are ugly because pythonistas believe FP is ugly." They're way uglier in python than in other languages. The ugliness of python's lambda is a trait of python, not a trait of FP, yet it's ugliness cited to justify itself.

> when a for loop would be faster

Hey, that's fine. But I think much of the time for the sort of things I'm working on, that's deep into "premature optimization" territory. I'd rather a slight linear slowdown with more readable code than a slight linear speedup with less readable code. I'd prefer that python not "subtly discourage" me to nudge me towards less readable code because a list comprehension is marginally more performant.
Not inexpensive, but a shared burden across all of society. Quebec assumes that society needs children to sustain itself. That a child today is revenue tomorrow that goes back to society and helps pay for other's retirements, etc. So it's only fair for those choosing not to actively have children, to still contribute slightly in helping those who choose to have them.
Thank you for introducing me to the term "Learning Management System". Led me to a lot of further resources.
I am curious to know how you built it, do you keep polling for the new a items on the HN? How do you figure out if it's a course? Do you use regexes for it or something more sophisticated / complecated?
It's a police state. A very neat and tidy one, but one with severe penalties; one of the few places still using corporal punishment officially.
That’s weird. I thought they were trying to be a modern country?
Privacy of Zcash doesn't depend on the setup, only the soundness (preventing people from creating money out of thin air)
TED talks are mainly a circle jerk now, it used to be partly a circle jerk before but now they aren't even pleasant to watch. You get the same pauses, the same dramatic pics with every single talk.
All these words to say a few simple things...

Tactics are smaller-scale than strategy. Tactics is the implementation details and strategy is the big picture. Tactics are the movements of chess pieces and strategy is the intent of those movements.
> "Allowing to elide the add42 from "def add42(x): x+42" makes the difference between encouraging FP or not?"

Not being able to define a two-line function in the place where it's used because you have to give it a name discourages FP in a way many other modern languages do not.
> So I think it's great to have these kind of blocklists available to pods / servers / whatever instances, but I would like to see it as opt in, and selectivley able to opt out of whichever ones for any reason by the server / instance operator, and I think it should be optional for the users to opt out of whichever blocklists as well.

Yes, I agree with this. The end effect of this will be self-partitioning of the network, however, I think.

There are actually some pods who do a great job of tracking down bad users, and they have a full staff, and I trust their podmins. I should be able to offload a lot of the work of gatekeeping a TOS standard, to them, if I desire.

I totally agree it should be optional too. I clearly stated that in my posts to the D* github issues. But they just banned me, said trying to take action to moderate CP off the network was censorship, and they were going to ban me for it, ironically. That's when I started suspecting the D* core devs may actually be protecting their CP network, or even possibly profitting from the CP on their network.
People have different needs for privacy.

For example, you don't want your colleagues learning how much you earn, nor does your employer. In a centralized banking system there is a level of privacy because the employer trusts the bank won't divulge the information because they have legal requirements and a reputation. When you take away the central party, now everyone can learn what everyone else gets paid. Without an equivalent level of privacy, very few people will ever consider using Bitcoin for payroll.

People also do not want their lives monitored so they can be sold advertisements or be forced to behave in certain ways by their peers. It's none of an employer's business what their employees spend their money on after they have been paid for work. Increasingly, we are seeing some employers make judgements about the people they pay because they do not share the "correct" political thinking of the employer. The whole thing is becoming absurd.

Transparency of the ledger is what is important. You need to know that somebody didn't make money out of thin air, or double-spend. If you can do this while keeping the actual transaction data private, most people would rather have private transactions if given the choice.

Fiat doesn't have a great deal of anonymity from law enforcement. For most people, nearly everything but small transactions can be known. Even cash can be traced from ATM->Person->Shop->Bank. The notes have unique ID codes, and the biggest denomination of note (say, a $100 bill) usually goes straight from bank to bank with only the 2 people between the transaction, because these are not issued directly as change. You can be sure the bank makes a record of every note and who withdrew/deposited it. Moving large amounts of money through the fiat system is extremely difficult, unless you're a bank. The banks have a monopoly on the ability to launder large amounts of money, and they certainly make use of it!
> “Object-oriented Programming”, [...] Building applications. simply by plugging together off-the-shelf components

I've read just here on HN that microservices architecture is none other than an implementation of the original concept of OOP.
Regarding Apple's Gross Margins
It's explained in the article that this is to solve one specific issue that Gambit Research had: in some parts of their code they need to take action with very low latencies (<10ms) and hence they can't wait for the GC. This way they manually execute the GC in other sections of the code were timing requirements are relaxed.
Had to search what are non-cognitive skills. They are: emotional maturity, empathy, interpersonal skills and verbal and non-verbal communication.
to be fair he takes about 10 minutes to say it
It made everyone look like the racist aliens from that old Star Trek episode.

I was having a lot of audio cutouts too, and the framerate tanked when the actions started heating up. Imps jumping around could drop it to the low single digits. Still, pretty impressive for playing in a browser.
Nested KVM has been buggy since forever. Although a wonderful thing when it's working I'm not surprised Amazon doesn't allow it on their production systems. It has a nasty combination of: ability to crash the L0 hypervisor, different behaviour depending on features and family of the processor, and requiring very specialized skills to understand and debug.

Edit: If you do want to try testing nested KVM, then try my supernested project: http://git.annexia.org/?p=supernested.git;a=summary and Day 13 of the 2016 QEMU Advent Calendar https://www.qemu-advent-calendar.org/2016/

Edit 2: Don't confused nested KVM with nesting TCG. That's fine, albeit rather slow.
I didn't know about these, thanks for the links!
There is no need for exchange of blinding factors.

The mailing list message https://lists.launchpad.net/mimblewimble/msg00091.html explains how any possible multi-party transaction can be done safely without exchanging blinding factors.
Show HN: Open source React/Next clone of YCdb.co
Woah is the radiation in an imaging test really so dangerous that you carefully consider whether its worth doing even once? Because uhh i get those pretty often
Hi, we really liked the work that Matt and team did on YCDB.co, which was released on HN a few weeks ago, and created an open source clone of the site. We plan to fork this and use it as the basis for a similar website that's focused instead on the Japanese startup market and thought others might enjoy using it as a starting point. The clone site is built using React/Next, with Algolia and Firebase/Firestore data providers and is hosting using Firebase "clientless" cloud functions. The Ant Design React library was key to our rapid development and has been a joy to develop with.
So s/There are no amounts/Transaction amounts aren't public

?
Apple had an eventful day yesterday (dropped by 10%). Despite that, the amount of shares traded (this includes day trades) was only ~90M, on a total shares outstanding of 5000M, so less than 2%.

From these figures I find it hard to imagine being able to sell 50% of all shares within two weeks on top of all the normal trades that will also keep occurring in that time.

I will give you that the major stocks have more liquidity and can take a bigger selloff % wise than even Bitcoin or Ethereum.
I am a bit puzzled by this:

"Before about the early 90s, we didn’t trust C compilers, so we wrote in assembly."

There a lot of games released during the 80's, were they really all written in assembly ?

https://www.myabandonware.com/browse/year/

I don't have experience in the game industry at all, I must add.
Indeed. “10000 hours” rings as true as your average Ted Talk.
The rise of alternate VC
Many modern countries have heavy restrictions on freedom of speech. The United States is the exception, not the rule.
Thank you. I'm also not sure if I ever seriously use it but it's a long time since I had so much fun programming something. I couldn't stay away from the computer and "binged" it in the last 3 days of my vacation. Such joy.
Even while GC is delayed Python (CPython at least) will free some stuff through reference counting. Only circularly referenced stuff should stick around until the next GC run. So that can avoid lots of stack temporaries and stuff.
or you know, don’t take medical advice from random people on the internet.
No, H1B visa has a lottery in April, which E3 doesn't have as far as I know.
> Law enforcement

And 6000 data brokers.
As many other things in Grin (the name itself derives from
http://harrypotter.wikia.com/wiki/Gringotts_Wizarding_Bank),
the testnet name is Harry Potter inspired: http://harrypotter.wikia.com/wiki/Floo_Network
I think it's not just a matter of low-hanging fruit, but low-hanging fruit that's interesting to other people and applicable (to other research or to the real world)
As far as I understood, the transactions must be build interactively between sender and receiver. This would mean that you could only send grin to people how are online. Is this correct? And if so, is this going to change?
Worry less about children's screen use, parents told
In the Ruby world this is called "out-of-band GC" and is supported by multiple application servers: http://tmm1.net/ruby21-oobgc/
Theoretically with your code structured right you can disable the cyclical garbage collector outright: It only deals with reference cycles which you can explicitly avoid by using the weakref module.

Not entirely sure how you'd go about writing code like that, but it's possible.
And challenge the status quo? Not if the government can help it :P
It's a pro-corporate one-party rule. With the enshrinement of Lee Hsien Loong as the PM, Singapore is headed the dynastic route that ruined other Asian democracies like India.

Rich does not equate to equitable. Dubai and Qatar are other examples.
Isn't one of the advantages of having a tablet that you can skip the smart phone and get a feature phone with a two-week batterly life instead?
In MacOS Use PHP CLI from MAMP PHP Binaries
Shitty click-bait - we all know disney will just pay-off some politicians and keep it's ip out of the public-domain. As they did the last few times. The have 12/16 years time still
The LG Prada came pretty close...
ADAC Camping GmbH | Berlin | Full-Time | Onsite | https://www.pincamp.de

PiNCAMP is a startup backed by the ADAC, the largest automobile club in Europe. We want to make finding and booking camping vacations an enjoyable experience.

We are currently looking for:

- Junior backend developers (https://adac-pincamp-jobs.personio.de/job/97178)

- Backend developers (https://adac-pincamp-jobs.personio.de/job/95016)

- Junior frontend developers (https://adac-pincamp-jobs.personio.de/job/97177)

- Frontend developers (https://adac-pincamp-jobs.personio.de/job/93792)

Our stack includes Node.JS, Python, Django, React.js, ES6, Docker Swarm on AWS. We have plenty of interesting camping related topics to work on and we're looking for creative and positive thinking developers to help us achieve our goals.

jobs@pincamp.de
My favorite example of (formerly) low-hanging fruit is the formula for determining how often you can fold a piece of paper in half. Is there anyone who didn't grow up "learning" that you can't fold a piece of paper in half more than six or seven times? Until high school student Britney Gallivan found the formula, with basic algebra, and extended the record to twelve folds. [0]

[0] https://en.wikipedia.org/wiki/Britney_Gallivan
> Coding is a challenge for junior developers.

I personally agree. The amount of good ideas and good software I see everyday, makes me wonder how the heck did people design and implement these beauties. I get depressed all the time since I am unable to conjure up such beautiful design and code for a problem. I think this is affecting me mentally. Does anyone have any advice for me?
Or in many cases they backhaul it around the world and pass it off where they have settlement-free peering. A exotic POP means little with HE unless they pick local transit too and manage to peer with eyeball networks directly.
Heavier things, like graphics processing were typically written in assembler. Or sound mixing.

Some things like texture mapping you could only write in assembler, because you'd need to use x86 lower/higher half of word (like AL and AH registers) due to register pressure. Spilling to stack could have caused 50%+ slowdown.

486 era you needed assembler to work around quirks like AGI stalls.

On Pentium the reason for assembler was to use FPU efficiently in parallel with normal code (FPU per pixel divide for perspective correction). Of course you also needed to carefully hand optimize for Pentium U and V pipes. If you did it correctly, you could execute up to 2 instructions per clock. If not, you lose up to half of the performance (or even more if you messed up register dependency chains, which were a bit weird sometimes).

One also needs to remember compilers in the nineties were not very amazing at optimization. You could run circles around them by using assembler.

Mind you, I still need to write some things in assembler even on modern x86. But it's pretty little nowadays. SIMD stuff (SSE/AVX) you can mostly do in "almost assembler" with instruction intrinsics, but without needing to worry about instruction scheduling and so on.
It's a fairly common thing to do for e.g. games as well. Disable the GC during all your code, and then run it manually at the end of your frame. All you're doing is moving the gc runs to predictable points. You could even skip a collection if you've got a slow to render frame or two, evening out the spikes in framerate.
I can't recall if I read it or whether it was mentioned in that Mocap video diary on youtube but Prince of Persia is an example that comes to mind.

EDIT: Found it. Of course Fabien wrote about it: http://fabiensanglard.net/prince_of_persia/
Its a cult, man.
>Epilogue (... snip ...)

> 1. Do nothing (...) You can deal with that by imposing rules on what is and isn’t allowed in your codebase, (...)

This is what everybody is already doing in gamedev

> 2. Get involved (...) C++ committee participation is open to everyone. (...)

Most game dev studios are Small or Mediums sized companies, and don't really have the time to waste in Committee meatings...
They're also really useful for evading spam filters. I found[1] a bunch of government domains with open redirects.

Spammers were sending out emails containing links to `example.gov.uk/redirect?url=dodgy-viagra.ph` - and certain spam filters were trained to whitelist "trusted" domains.

You also see a lot of open redirect abuse on forums - especially where they're configured to only show the first few dozen characters of a link.

[1] https://www.openbugbounty.org/researchers/edent/
The wallet already supports interacting through keybase.
agree. But as an invention, the main duty of crptocurrency should be to fix the shortcoming of fiat. The main shortcoming of fiat is opaque.
No, being malicious is.
US Jury to Decide If Ed Sheeran Copied Marvin Gaye's Let's Get It On
I agree with that, but when Wittgenstein says 'discussions' I take that to mean any sort of dialogue, e.g. online
I find it takes 45 minutes to really get into some dense subjects. Without putting in the second, third, or fourth 45 min chunk that same evening, I'd personally have a hard time unless it was an easy task/subject.
I think the parent means that x86 devices, specifically a favorite of mine, the Surface Pro, can provide mostly all of that and then some, but without the hassle of iOS:

* 3:2 screen ratio, 267 PPI

* Despite an i5 it has instant on, connected standby, LTE built in

* 9h of web browsing on battery: https://www.anandtech.com/show/13471/the-microsoft-surface-p...

* Fanless

* Charges in 2h40m

* Does not get hot

* Can run everything from games to servers to IDEs to scripts

* Not a walled garden
That isn't correct, but it's an easy conclusion to draw.

What this means is that both parties must participate in a transaction. With Bitcoin, and hence with most blockchains, you can send to an address; that address can be a cold wallet, or could not exist at all, in which case your cybercoins are gone.

With MimbleWimble both parties must participate (interact) to form a transaction, but this can happen asynchronously.

In other words, both parties must be online, but not necessarily at the same time.
I'm curious - do you think affiliate links are a problem, and if so, why?
I would say energy wise
Unless you are on a college campus.
7 Simple Ways to Slash Your Auto Insurance Costs
Lol you are going to trust your LIFE to a "sobriety start-ups"

The pure fact it's a start-up should tip you off there's going to be no evidence it works.

Good luck with that.

The whole article is junk.

All treatments have huge failure rates, above 90%, including Naltrexone and AA and rehab and shrinks etc

Chose / keep looking until you find the one that works for you.

The whole X doesn't work is bullshit, none "work" well, it's a complicated topic.
I suppose that organizing or participating in a public assembly without a police permit is illegal more or less everywhere in the world.

The question is whether "the Internet" is a public place or not.

Case in point: Italy.

A) According to article 18 of the consolidated act on public security (TULPS) it is mandatory to inform the police whenever a gathering is organized in a "public place" [1].

B) the Corte di cassazione (the Italian supreme court) has repeatedly stated that public websites are equivalent to public places [2].

Exercise for the reader: draw the consequences of combining A and B.

[1] «I promotori di una riunione in luogo pubblico o aperto al pubblico devono darne avviso, almeno tre giorni prima, al Questore. E’ considerata pubblica anche una riunione, che, sebbene indetta in forma privata, tuttavia per il luogo in cui sarà tenuta, o per il numero delle persone che dovranno intervenirvi, o per lo scopo o l'oggetto di essa, ha carattere di riunione non privata.» http://www.normattiva.it/uri-res/N2Ls?urn:nir:stato:regio.de...

[2] https://www.lastampa.it/2014/11/17/italia/molestie-cosa-rien...
Yeah, it is definitely because ec2 does not allow nested virtualization; however, all other major cloud providers do allow it.

I always assumed that the reason it was disabled had something to do with nested virtualization being less mature in xen-hvm than in kvm. I don't know if it is actually less mature in xen-hvm, but all of the other cloud providers are using other hypervisors so I figured xen-hvm was relevant. That said, Amazon has now released the m5, c5, etc instance types which run on kvm, but nested virtualization is still not supported.

Regardless of stability and performance, it's frustrating that they outright disable nested virtualization because it is useful in so many cases that aren't performance-critical where you really need to just run a VM: like building virtual machine images, adding another layer of isolation for untrusted software, or working with applications that cause kernel bugs (chromedriver a few years back was plaguing us with system deadlocks running at scale), etc.
>> ability to crash the L0 hypervisor

Prove it and you'll get a bug bounty from Doogle and Microsoft won't you?
Possibly. But my understanding of “the concept of OOP” involves a separate identity for each object.

Suppose the thing you are dealing with is “Customers”, then with OOP each Customer is a separate object, while with MSOP you must communicate to the service which Customer you are talking about. The thing you talk to and the thing you are talking about have different identities.
> you're still in pain for another 180 hours until you've done your first 200 hours. That's usually when things start to get sustainably enjoyable because you know enough to not be constantly frustrated and can actually have fun no matter the remaining difficulty.

You can get there a bit earlier by carefully adjusting your practice difficulty to be closer to your comfort zone than the "real" skill you want to tackle and then slowly raising the bar as you get better.

For example, I wouldn't be able to understand any random Japanese sentence someone could throw at me right now, but I built a system to pick sentences from https://tatoeba.org that I should be able to understand based on the words they contain, and it's been very encouraging to notice how much I can understand already. The only problem being that I haven't found a good selection criterion yet. Optimizing for highest probability that I need to refresh at least one of the words in a sentence tends to produce very long "sentences", e.g. https://tatoeba.org/sentences/show/4752008
I don't want them because they shrink the primary mirror while being too small to use. Since they still reflect glare, they are actually worse than patches of duct tape.
There is some discussion on their forum on how to set the appropriate difficulty for the genesis block, and how to estimate the number of miners that will be around at the beginning. Good reading: https://www.grin-forum.org/t/genesis-block-message/250
Who better to build Moon settlements than the Israeli.
2000 / 20/WK = 100 weeks, or approx 2 years of part time hobby work. That's not too bad.

Where does the 2000 hour number come from BTW? I haven't seen it before.
It only hit me in the past few months how ingrained alcohol/drinking culture is in adult lives. It’s absolutely everywhere (ads, sports events, festivals, workplace, nightlife, social events). It’s actually crazy how lightly we treat this addictive, toxic substance that we joke about despite how many people it kills every year and harms directly and indirectly. At some point I was unknowingly drinking 4-5 times a week and thinking that was normal or OK. I’ve mostly just stopped and will only allow myself 1-2 drinks every few months on a vacation or social event with friends.
The entire Deus Ex series is excellent.

Well, there was "Invisible War" I suppose, but we don't talk about that one.
Interesting that glucose levels are used, since they are significantly affected by diet: https://biology.stackexchange.com/questions/55853/what-is-th...
Can you feel the thoughtleadership?
Passenger pigeons were still around in the 1890s, weren't they? Is their omission deliberate since their range seems to have been east of the Rockies?
The sun shines on the "dark side" just as much as it shines on the near side.