skysight-inc/HackerNews huggingface dataset:
I was with you until the second paragraph, but DOM elements do sometimes have non-dumb semantics (e.g. <label for="foo">, or <a href="#foo">). There's also a very good reason we have templating languages to loop over table rows.
Events don't share mutable state (at least implicitly), they carry a copy of data. This eliminates a huge class of thread-related errors.

The canonical thing that works this way is Erlang (and its modern cousin, Elixir). See also "actor model" (e.g. Akka). It is approximately how Windows and Mac GUI used to work (back in the day; did not look at these APIs for ~20 years).

Python async is coroutines, a different kind of concurrency. In it, the event loop is hidden, and coroutines just yield control, implicitly or explicitly, to allow other coroutines proceed. In Python, a CPU-bound task can only run on a single thread, due to the Global Interpreter Lock preventing concurrent modification of data. Coroutines are still useful both for IO and as a general way to describe intertwined, mutually dependent computations. (The earliest, limited Python coroutines were generators.)
Which is mildly interesting, but a long way from "microkernels are where OSes are going in the next decade or two (from 1992)".

Microkernels were not a completely worthless idea, and they have appeared here and there. But in terms of OSes, they lost for three decades after Tannenbaum's statement.
I'm not suggesting someone goes and tells them, that would just cause more pain. I'm suggesting we stop that life from existing in the first place.
Quasi-War
Could you please not post unsubstantive comments to Hacker News?
There was an Ask HN about this with a huge thread of comments. Perhaps you can search and find it-- was within the last year or so.

I'd recommend getting a business person to bat for you on this rather than negotiating directly. And I believe you are low with your 5-10% number, if it goes anything past a simple meeting.
Yellow oBikes leaving Melbourne in wake of crackdown
// super advanced AI for court decision

while (defendant.getSumOfContrib(partyInCharge)<= Gov.Judicial.Common.RULE_FAVOR_MINIMUM) {

delay();

}
No, but the model should fit. Otherwise, why should it fit now?
- requirement for file sharing platforms to make an effort to check user uploads for "copyright" infringements.

This is a lot bigger than it sounds, though; it turns upload from something that can be implemented in a weekend to something that requires reimplementing content-id. It also seems to mandate cloud storage systems to go rummaging through your files for infringement.

If it applies to images and copyright is effectively restored to photographers, that's also the end of tumblr and imgur.

Or just banning Europe, again :(
Good grief. Why can't we stop all this consolidation already?

This is only good for shareholders. The cons clearly outweigh the pros for consumers.
Or also known has backhoe fade
For E4VM I engineered it so that my Huffman-compressed BEAM bytecode would be much smaller, at some reasonable performance cost. Something like 1:3..1:6 ratio, probably even better. The emulator code was also planned to be very limited, possibly the language will also become a subset of Erlang, to cut on the features. But there were no numbers, there was no definite goal how small I want it to be. Such talks begin when there is a project or a customer and a target to reach.

For ErlangRT the original idea was to reproduce some subset of existing Erlang/OTP emulator features and then optimize from there. It resembles Erlang/OTP data formats and data structures, so it would begin at 1:1 ratio or maybe a little worse like 1.1:1 or something because Rust incurs some costs for compound types where for C it was enough to have an integer.
There's definitely cases where removing a person from a project speeds it up. Just to name a few:

* the person removed is a distraction to the team in some way, possibly outside of their control

* the team is over the two-pizza limit, and coordination costs are out of control

* roles between individuals aren't clear, and removing one of them makes it obvious, removing a source of confusion

[edit: added some examples]
I have seen that argument in the past but somehow still can't see how event-based approach saves us from the headaches of concurrency.

If you need to deal with parallel processing (which is relatively often in the real world) you WILL have to face the problems of consistency, visibility and program order.

Many languages don't even require programmers to have much exposure to threading mechanics. It's an OS responsibility, and that's not necessarily a bad thing.
Does it allow shared (immutable) data structures?

I.e. does it allow passing large parts of data structures without copying?
"you can drive on LSD if you’re experienced with psychedelics and know you can trust yourself, at least under doses <150ug. ... Absolutely not recommending it to anyone, but the visuals don’t really get in the way."

It's not just the visuals that are the problem. Temporal distortions are common -- you can feel like time has stopped or slowed down or sped up or gone backwards. Also, you might get disoriented or confused -- not understanding where you are or what you're doing or how a steering wheel works while you're on the freeway is probably not the wisest or safest thing to subject yourself or others on the road to. Or you might get irresistibly entranced by a fleck of paint on your dashboard, which could look like a whole animated world to you, while you should be keeping your eyes on the road, etc, etc, etc.

You know how there's a warning not to drive or operate heavy machinery on some medications? Well, that warning should be on psychedelics, only times 1000.
I had a similar experience, although in my case the Tesla guy could at least tell me where the screws I was looking for were.
You can set up Kerberos authentication, but I've never actually seen this done in the wild.

Most setups trust based on subnet.
It matters when ~50% of the comments are talking about net neutrality and Time Warner Cable hasn't existed for more than two years.
I don't expect my siblings to be any of those for me. It's incredibly unfair to put those expectations on family.
I think the only reason moodle i still around is as above (it was free) and some resources are published as packs for it, which are re-design archives of php and files that upload to a directory. I wasn't particularly impressed with it when I managed one.

Drive + classroom is free as it the MS answer, I don't see moodle as a wise investment in time.
Do they say they only did this once? Or do they imply they did hyperparam tuning, pipeline optimization, etc using one or more (or all) of the world cups included for the cv?
> it would need to be worth at least 100x what it's worth today, that means it would need to use at least 100x as much electricity

Price and electricity usage ARE NOT perfectly elastic. Electricity usage is a product of total hashes mined and difficulty rate. These continue to go up, even when Bitcoin price is falling (see 2014-2015). Additionally, the electricity used did not rise 19x in 2017 even as the price did so.
> Obviously, scanning upload content for infringement isn't technically feasible without also requiring publishers to somehow register content/hashes to claim commercial rights, and mechanisms in place for resolving disputes, etc.

It isn't feasible at all. It's already common to upload encrypted zip files and distribute the passphrase with the link, as a method of privacy protection against the hosting provider. But that obviously also defeats any kind of hashing or fingerprinting system and would be employed universally by pirates as soon as any such thing was mandated. It's just a garbage law that imposes costs and yields no benefits.
Any source for the "genetically same" claim? To me Bulgarians look fairly distinct from Macedonians, although I'm not certain if that's any strong genetic indicator.
MDMA is not a "proper" psychadelic imo
Mirror: https://github.com/yegortimoshenko/copperhead-takeover

CEO has sent DMCA takedown request on my GitLab repo, which clearly abuses copyright law.
Radius Bank working with Treasury Prime (YC W18) on online business checking
Sloppy and emotionally-driven phrasing on my part, sorry. I hope my edit and follow-up to yours have clarified my position.
The Great Game, anyone?

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

Honestly i can't shake the idea that said game has continued to the present day, only with various players tag teaming in and out over the years.
The courts seem to be letting telecoms consolidate to a degree that is unprecedented (Bell, at least, had a fairly narrow scope), because they think the internet means these companies have competition. I think they're severely under-estimating the power these companies have and the risk that these mergers create to both consumers and our democracy.
And I've read about many people using Go and wishing for generics from day one.
Ask HN: Designing New RPi for Doing HPC, ML, etc.?
Hi guys,

I saw lots of people clustered their RPis for different purposes (e.g. data mining, machine learning, big data storage and Hadoop and so on ...).
As you know RPi has it's own drawbacks. For example lack of enough RAM or high speed IO busses (e.g. USB 3 or GbE). So I was thinking about a brand new board with these kind of capabilities at the same price and size. However as a trade off we have to remove some other stuffs from the board (i.e. HDMI, IO pins, 3 other USB ports, Audio Jack, power input -> we can use Ethernet cable/port instead).

What do you guys think about the idea?
Is it even possible to design such board at around the price of RPi (~$35)?

Thanks
Some think otherwise: https://news.ycombinator.com/item?id=16921761

A pretty valid critique, and a reasonable solution offered.
Eheh, "lost in translation" - "," and "."
Yep, they might be a good solution on resource constrained hardware, but we learned hard how bad they are from security and stability point of view.

In that regard process are much better solution.
We can not class bitcoin as a security:

A security is: "a thing deposited or pledged as a guarantee of the fulfillment of an undertaking or the repayment of a loan, to be forfeited in case of default."

Bitcoin is an entity unto itself I can buy bitcoin and trade that DIRECTLY for goods - something that is impossible with securities. If bearer bonds were still a thing there might be some argument around directly transferable securities but that is no longer the case.

If I buy on forex (in pips) I can not trade those to a merchant directly for anything - bitcoin can be purchased at an exchange (not a market but an exchange) and used to acquire goods directly.

Lets look at the justification that the article gives:

"A study conducted by LendEDU last year found that roughly 18 percent of Bitcoin investors used a credit card to fund the purchases. Of those, 22 percent couldn’t pay off their balance after buying the digital coin."

What percentage of people can't pay their CC after a cash advance in a foreign country? How about after making a comparable major purchase. If we take those facets into account that %22 probably isn't far outside the industry average.

There were lots of paths Wells (or the other banks listed) could have taken - this was not a good policy on the merits of what they are saying.
That's one of my complaints when courts pretend to rule in favor of stock holders rights. In practice there is an inherent conflict of interest between management and the stockholders whose interests are diverse and barely represented.
Of course that argument is silly, because if you tried to compute the quantum physics of a simple object like a pair of spheres in a vacuum, you'd be hopelessly lost.

Classical physics is only hard (in the given sense) if you care about computing infinite decimal details, which no one does.
> It's a hard pill to swallow that "cowardly" surrender can often be objectively better than "stubborn" bravery

One old saying around these parts of the world (Romania) can be translated roughly like this: "The bowed head doesn't get cut by the sword", which explains like at least half of our history, seeing as we've never been a major regional power while being surrounded by 3 empires for at least a couple of centuries (the Ottomans, the Russians, the Habsburgs) and we still managed to keep a certain level of autonomy throughout the centuries. The Poles were a little bit more courageous than us and that attitude saw their country split into three.
This Is What a Nuclear Bomb Looks Like
Thanks, I feel there is something missing when translating the stress tests made in that article to consumer peripherals. I get the impression that longevity is greatly sacrificed for short term performance in phones and laptops. But that is just me trying to explain why (my) phones and laptops loose their battery capacity so quickly.

Regarding Tesla supercharging I found this: https://www.teslarati.com/watch-tesla-battery-thermal-manage...

I also heard of issues of other cars (don't remember brand) who can't perform a supercharge - some driving - and then another supercharge because the batteries would overheat (still from the previous supercharge), preventing long trips.
By "gain" they meant privacy. You gain no privacy... you lose privacy when using iCloud and Apple Calendar
Me too, my first Linux distribution was Slackware 2.0 with the kernel 1.0.9, with initial support for IDE CD-ROM drives.
> According to Alex Haslam and Stephen Reicher, psychologists who co-directed an attempted replication of the Stanford prison experiment in Great Britain in 2001, a critical factor in making people commit atrocities is a leader assuring them that they are acting in the service of a higher moral cause with which they identify

The drug war in a nutshell ladies and gentlemen.
er - no. Assuming you are not trolling (benefit of the doubt and all that):

You might mean it shouldn't work? but alas it does (because of 'lopsided equality tables'). Try the following: open the console of your browser, type the following:

true == 1 === true

and press enter - tada! You can also check out this SO answer if you are sufficiently flabbergasted: https://stackoverflow.com/a/12236341
Possible Evidence that Fuchsia will support Android Apps
This sounds eerily similar to "Extend, Embrace, Extinguish".

Only in Google's case, they capture the market fully and then kill it rather than leave it running the captive portal.
That too. I was more suggesting that some of us aren't particularly close with our family or people people. That and you can not particularly like someone without them being horrible, sometimes personalities just clash or are indifferent to each other.
Looks like Brazil did in 1958 and 1962.
How does Go statically type check collections, then? It seems like a pretty common, desirable use-case to me.

I could understand not missing this if you're coming from a dynamically typed environment, but understand that many people aren't.
Although it may seem counterintuitive that would probably lead to more centralization. Andreas explained it very well here: https://www.youtube.com/watch?time_continue=3&v=AcaktuPdQrc
You are right -- I stand corrected.
The minimum commercially viable size of a power reactor is much larger than the size of a commercially viable wind turbine or PV module. A typical wind turbine today is rated for 2-4 megawatts peak output. A solar module is 0.2-0.4 kilowatts-peak. Commercial light water reactors under construction today are rated for more than 1000 megawatts. Even "small" reactors like NuScale is designing would generate 60 megawatts each.

The large capacity and high capacity factor of nuclear reactors has some significant benefits: once they start operating, they can rapidly displace use of fossil fuels. But it also means that there are many fewer opportunities to iterate on designs. A single large solar project can use a million panels and be constructed over a few years. The millionth panel installed on the site can be significantly improved vs. the first. Most solar manufacturers are tuning module production lines near-continuously and formally introducing new models frequently.

To generate the same amount of power with a nuclear reactor, it would take just a portion of a current Generation III reactor or maybe 2 small modular reactors. To the nearest whole number, there are 0-1 opportunities to upgrade equipment on the fly with a nuclear project vs. the dozens of opportunities with comparable-output utility scale renewable projects.
Ding ding ding! It's not an unreasonable strategy, either - the choice is only the taxes from local operations, or huge fines + effective tariffs on doing business to encourage local firms to spring up. I know what I would do, if I was France and had exactly 0 Googles.
I think parent is referring to desktop applications.
One of my first Go programs was based on this image resizer: https://github.com/nfnt/resize/blob/master/resize.go#L109

Do you have any recommendations for how to write this code without generics, without sacrificing performance, and without hundreds of lines of duplicated code?
> Here's my problem: Exercise is extremely uncomfortable. It's hot, humiliating, and painful.

I would say a few things to this. Regarding the comfort level:

First, exercise is fucking brutal for the first few weeks, and then you just get used to the brutality. It never gets easy, but you do get used to being uncomfortable pretty quickly. Second, unless you're on some sort of program where you can measure progress granularly, you're going to quit. The enjoyable part of activities like lifting is seeing yourself make demonstrable progress over time in terms of weight being moved for X amount of repetitions. If you just come in and do a bunch of random shit as opposed to a structured program, you will never see that progress because what you are doing is inefficient; you will get bored or discouraged; and you will quit.

Check out a program like strong lifts or starting strength if you are interested in strength training. Those are the canonical beginner programs.

Regarding the humiliation aspect:

I've never understood this idea of feeling humiliated at the gym or while starting a new sport. Everyone starts out as a noob in lifting, even that guy who is squatting six plates easily. No one just shows up and immediately has success, so it makes no sense to be embarrassed about being a beginner.

Many new lifters believe that experienced lifters judge them for the amount of weight they are moving. I can tell you this is not true. I would never judge someone who is squatting the bar or 65 lbs or whatever as long as they are attempting to use good form; I would assume that person is a beginner, and would be pleased that they are focusing on fundamentals early. I am also always happy to critique form or provide advice to new lifters, as it is an opportunity to teach and I enjoy cultivating interest and knowledge in my sport. Amusingly, so many noobs are so afraid to look ignorant or weak that they never ask for help, reinforce terrible technique patterns, and then get to a point where they are moving weight they clearly cannot handle well with terrible form. At this point, experienced lifters WILL judge you harshly, so why not just engage them early on and get free help and camaraderie?

Regarding embarking on a diet or exercise routine. I posted some general advice on how to properly get started (mostly with dieting) and how to think about best practices here: https://news.ycombinator.com/item?id=15604761
Yes, you see that everywhere nowadays... why not just say "A fund manager can be as risky as they like" and leave it at that.
What? The almighty market doesn't solve the Principal-Agent Problem? [0]

Like, say it ain't so, man.

[0] https://en.wikipedia.org/wiki/Principal%E2%80%93agent_proble...
I'm not following your numbers here. In my recollection our wages have largely been stagnant since 2004? Do you have means to back up your claims? Meanwhile wage growth from what I've seen in the EU has grown. Especially say in England and Norway?
It's not infallible but is pretty impressive to derive answers with a combination of distinct reasoners.
Is Trump the modern equivalent of Godwin? :-)
As long as the "100 million dollars" don't make up more than 50% of the tokens in the network, the incentives are supposed to play out in a way that all the other participants of the network contest the wrong statement made by B, and thus B isn't able to introduce information that is deemed wrong. So in general the situation should be preventable. There are some specific versions of that edge case that come to my mind that where that situation could indeed be unresolvable but in those cases that should be detectable and displayable to the users of the system.

As I said in my previous comment, there are some rationality requirements regarding some of the token amount.
CPU concurrency is not incompatible with events.

Shared mutable state is where the problem lies, but in a lot of cases shared memory can be used to pass it without copying from a "scheduler" thread to worker threads for parallel processing in non-overlapping chunks, and then back for compiling into a whole.
I'm not sure 1/3 is exactly a number. It seems to be an expression when written out. pi, likewise, appears to be a word, not a number.
Did you drink coffee?
The EllaLink subsea fibre cable
Try implementing a shared map type where access is protected by a mutex and otherwise works just like Go's builtin map type (which is a generic map type).
Umm don't? Why are you iterating over unknown types?
I think that the same people who do search and who do blogging shouldn't be allowed to leverage that data to sell ads. It's unethical.

I also think that Google and any indexing service should be held accountable for linking to pirated content.

I don't fully understand the way Google sells ads on a marketplace, but I think that Google is guilty of being unsavory in their behavior as the premier online advertisement market place and search giant.

I don't think that ad-funding a business should be illegal, I just don't think that advertising should be as valuable as it is when the biggest data horders on the web are the ones doing the advertising.
Go can statically type check hash maps, arrays, and channels. If you want some other container type it must be written with a concrete element type in mind.
What was the business with the "free speech zones", anyway?
That won't happen. I don't think 'regime change' is going to come off the foreign policy menu, nor is paying back all the debt that is owed. So the space money is going to be eaten by debt payments and more 'regime change' initiatives around the world. I forgot all about foreign policy, I thought there would be no money before, now i KNOW there will be no money for any of that.
The third paragraph:

> Secondly, I am not affiliated with Gitlab.

So this would be no “own” dog food at all.
"de novo lipogenesis" in Latin literally means: "generating fat from new" - funny how knowing some Latin from school is always a bit helpful in understanding or remembering things like this one.
By that reasoning, no numbers exist at all.

What is the usefulness of real numbers, beyond the usefulness of computable numbers? Real numbers give you silliness like "You can cut and reassemble a ball into 2 balls identical to the original, if you cut it into 5 infinitely detailed pieces. Negative and Zero don't lead to patently impossible predictions about the world.

https://en.wikipedia.org/wiki/Banach%E2%80%93Tarski_paradox
Ahh... the Dyson Sphere is nigh...
Making mistakes is the only way a computer can learn. It may not be infallible at the moment. But as time passes, the more accurate it will become.
C3 is a javascript library based on D3 that simplifies it and makes it easier to use for designers and full stack developers.
Not available where I am =[
You know, HN could really do without the person who constantly tells everyone how well-off we all are. Learn economics. And then hold your tongue next time.