skysight-inc/HackerNews huggingface dataset:
Show HN: Bad Language: A lisp-looking language with interpreter and JS compiler
Success. The art of defining your own path
This type of data flow where components need to plug into multiple instances of the same type of state is an area where Redux doesn't help you, and solutions tend to be ad-hoc, using things like the "special keys" you mention.

A challenge I had recently was a location form field, where the user is offered autocompletions as they type. The autocompletion state is specific to the component; every field needs its own unique state. So to represent this with Redux, the component has to generate a "state ID" (basically just "new Object()", as I recall) that serves a unique identifier that it can request lookups under. The autocomplete() action then has to take a state ID as a parameter, and associate all lookup state with that ID. Internally, I implemented this as a layer on top of the autocomplete engine, so that the underlying layer didn't know about the ID. Even so, it wasn't beautiful. And of course it was susceptible to leaks -- it was necessary to "unregister" the state ID on unmount. It was unpleasant enough that I considered not using Redux, but I've done that before, and I really wanted the whole state transition machinery.

Has anyone created a solution for this, I wonder? It's possible that a new Redux store per field would have solved everything. But can you connect a component to multiple stores? Some components need to have instance data and access the global store (e.g. current logged in user).
Here in Los Angeles, LADOT has a handful of battery electric buses in their fleet, for the short DASH routes near downtown [1]. LADOT is the smaller, municipal counterpart to the county's Metro system. The buses themselves are a bit shorter than an average city bus, though that is typical for DASH. I wouldn't call them tiny.

I guess that because they're so quiet, when the bus makes a turn, a loudspeaker on the front of the bus calls out, "Bus is turning right." Pretty funny to hear the first time.

[1]: https://la.streetsblog.org/2017/01/12/electric-dash-buses-to...
ASICs usually trail leading edge nodes by several years.
Why can't it be solved?
He used to have a comment on it at one of his websites, but that appears to be gone. This quotes that: http://kaedrin.com/weblog/archive/001495.html
I use my phone as utility only, I put the details on how in another post here. I would also miss out on scenario 1, because while I don't have FB on my phone, I do have an account, opened only in a Firefox Container on my desktop. I also don't receive emails from invites/messages or anything FB related. It waits for me.

I wouldn't miss out on scenario 2, because my phone notifies me of texts and calls (and nothing else).

I dislike the 1st scenario just off the basis of giving FB so much credit, friends should reach out via traditional methods that most of us have like SMS. Then you're not benefiting Facebook Corp so much by designing your life around it. Just distasteful, in my view. It also allows people to communicate & live a modern life with just a basic phone, which should be more than enough.
Sure. I didn't mean to say that. They just don't need them for direct financial security the same way the middle class does.
PersistIQ is hiring a senior full stack engineer – remote OK
Exactly. This same business model would have worked out had he used Linux instead. My local old computer re-purposing shop exclusively uses Linux, and they offer classes for owners.
Scaleway Feature Improvements: Custom Kernel, Security Group Reload, ImageHub
This is a great time. Low unemployment levels.

As long as you are happy to serve, there are lots of jobs.

Stay the course!
Same. I have email, sms, Signal etc. on my phone. I use it for som utility stuff like banking (getting around a braindead token-based two factor thing in the web-version). Even HN, if I'm far away from home and bored. And all that really only amounts to 15-20 minutes in a day. And then navgation, and the occasional book I read on it. And snaphot photos. It's all nicely under control.

Like the parent poster, I'm an old fart. But my daughter, in her early twenties, have much the same pattern, and most definitely no addiction to either phone or social media. For what it's worth, she's had pc and phone for about as long as she can remember. With internet and no control, but a lot of guidance.
Funny how well this goes with the topic. It's only condescending if you take it to be a bad thing. I'm making no judgement, just pointing out the substantial difference in attitudes.
I suspect it will continue to be good at the expense of the markets for recycled plastic, which have already taken a nosedive.
It turns out reports of the Data Liberation Front demise have been greatly exaggerated. We are still very actively improving Google Takeout[0] as well as developing other products[1]. The thing that didn't last was running a quasi-official Twitter account, perhaps without official blessing.

Its true that the Data Liberation Front did start as a group of 20%ers, but like the much less successful GMail, we got turned in a real team and now we have reorgs and TPS and everything.

[0] Check out the new My Activity service as an example of some of the new data we have added: https://takeout.google.com/settings/takeout/custom/my_activi...

[1] https://thejournal.com/articles/2016/12/09/google-unveils-gr...
I have chronic pain triggered by/related to eating, tied to celiac, dysphagia and maybe gerd. The odd thing is the pain is relieved while eating and 5-10 minutes afterwards, and in the past the discomfort used to spur me to keep eating.

I can’t really say the pain is lessened by hunger, because I spend plenty of time hungry and also in pain (I’ve lost 45 lbs since Jan 1). Hunger is enough to spur me to eat, despite that it’s almost always miserable later after I eat. Desire to not starve,
or eat when very hungry, is one of the strongest urges, though, which would seem to overcome pain. Perhaps that’s precisely what they mean. I’ll be observing my own sensations in relation to this.
I agree, things are getting better. Links to sources has been a feature of high-quality science journalism for a while. It is good to see this spreading, and while it may have taken longer than it should have, I don't see it as a reason to give up on journalism.
Introducing in-car delivery
Indeed.

Honestly, this is all human work. Rather than try to take all the value out of doing it, we really should embrace doing it, and fund those willing to do the work.

Sure, not all of them will be stellar, but some will be. That's worth a lot.

Seems to me the biggest benefit tech has brought us is so much information access that many only need guidance, experience, to be challenged, mentored.

I give back to young people in this way every chance I get. Right now, it's hard, but it's not always hard. Most of those people have come back to say thanks. It helped. They are on a path, chasing after it, whatever it is for them.

Good as it gets right now, IMHO.
The hardback theory makes sense
Redux is far from dead but I do think apollo-link-state has the ability to take its crown if GraphQL continues to gain wide adoption; which I believe it will.

Though it's a very new library (Dec 2017) so it has a long way to catch up in terms of tooling and support.

I just happened to write an article on apollo-link-state for those who are curious about how it's used.

https://hackernoon.com/setting-up-apollo-link-state-for-mult...
I started using Redux with container components and dumb presentational components - this worked and scaled well.

Eventually though some containers started to have their own state, derived from props.

Ultimately I was left with the feeling that I wasnt really getting the full benefits of redux (time traveling, centralized middleware, etc) without moving all state in my app to Redux.

I think this is how teams get trapped by Redux - the pursuit of having nice dev accordances like time traveling leads them to adopt Redux everywhere and just by Redux’s nature (immutability, declarative actions) it ends up complicating things way too much.

I think the article I’m most grateful for is Dan’s article on container vs presentational components. Sticking to that philosophy let me adopt Redux and try it out but still have the majority of my app in dumb, non-Redux presentational components. So now it’s easier to remove Redux if I need to.
I think Proterra is doing a pretty good job.
Alain de Botton: On Love – Sydney Opera House [video]
I know. I find it intolerable to be lectured by the anti-abortion crowd who seem completely okay with the idea of US insurance plans not including pregnancy coverage automatically. Why should men be forced to pay for something they don't use they say. We will be fighting to keep the bare minimum we gained with the ACA and it will likely be a losing battle as with so many other things involving women's reproductive health.
Different sources might use different time codes. Anyway, inflammation likely attacks all kinds of sensors and perhaps nerves directly, so the signal is noisy, and the high frequency constituents very unstable. Whereas functioning receptor networks likely fire in ensemble, so that signal should be kind of clear. The functionally intact rim of an inflammation is a comparably large area, so that would correspond to a low frequency signal. Although, it's much more complicated, surely, I wouldn't know.

Also, hunger after a long time becomes a dull feeling, too. Less energy -> longer time to light a synapse.
How are you not being tracked when your transaction will be on the blockchain? I can't believe we're still at this argument.
Seattle + King County has battery-electric busses now. They had a trial run over the past few years but this year they’re rolling out more BEV busses without the hype vinyl wraps (I.e. they’re permanent): https://www.kiro7.com/news/all-electric-zero-emission-buses-...
Their shipping and distribution costs are quite different though. Petrol taxes also tend to be flat - advocates for removing them always crop up, but it's a suckers bet - you wipe out say, your road maintenance income, for (in Australia) a onetime 17c on the liter drop in price (while the price just keeps going up anyway).
This reminds me of twitch in some ways which I feel is a good thing. The use of a schedule is a nice add in to give the appearance of a channel or live stream yet with something to look forward to or schedule appropriately.
> Coders are often under a mistaken impression that interviewers care about your answer. They don't. They care about how you approach it, how you think through it, what you do when challenged, etc.

In many of the places that do claim this, even if you solve the problem "correctly" you still get more brownie points than someone who got a less efficient answer or didn't get an answer. Meaning that they /do/ actually care. I do get that some places are smarter with regards to this than others but it's depressingly common in my experience. "You didn't get the O(n) solution that has weird edge cases and was published as a paper in the 70s? Too bad, because some other person did, because they remember the solution from some programming interview book!"
You could use Symbols or create a Symbol type (just an object with .toString method) to make the state IDs more manageable. It does amount to writing a memory manager similar to object pooling in a game engine. It's not that bad if the codebase has one convention for how to manage it, but if every case is adhoc it gets nasty quickly.

In general the solution would be some kind of class with .acquire and .release methods to create/recycle objects as needed. It comes up often enough that I'm a little surprised there isn't at least one or more popular libraries for it.
Privacy
- All transactions on venmo are easily accessed by venmo and other third parties.

International transactions
- Venmo is very limited in this regard.

The unbanked
- As stated already, there are about two billion unbanked people worldwide.

Avoiding banking cartels.
- We've fed these parasites enough, don't you think?

Ease of use
- A payment over a social network would be relatively seamless, particularly if you believe that apps allowing for rapid transfer between cryptocurrencies will be feasible (they are to some degree already).
From a post above is

> I feel like the article is severely overestimating the state of the art and the current capabilities of the "big 5".

To me this is especially diplomatic!

From the OP

> Obviously we have the Primer,

WHAT?????? What do "we have"? Where is this "Primer" that "we have"?????

What here is "obvious"?

IMHO this might as well been written in Russian, and there I don't even know the alphabet!

For decades we've had multiple choice tests. Is THAT what she's talking about that "we have"?

So, could write a computer program that asks multiple choice questions and for wrong answers displays some background tutorial material. Is THAT what she has in mind?

She keeps saying "AI", that is, "artificial intelligence": Just what more specifically does she have in mind? Curve fitting with networks of sigmoid functions, with regression trees, with versions of regression?
You probably wouldn’t want to work anywhere where people get in your face for not knowing something off the top of your head. The three phrases I wish that I heard more frequently at work are “I don’t know”, “I’m not sure” and “Do you have any ideas?”
For async, do you have issues with redux-thunk? Or the generalized concept of intercepting actions with a middleware and then responding with further actions that are handled exactly as normal?

For the charts example, I would just instantiate a new redux store with its own state. The reducer can be reused between chart instances. Then just dispatch other action(s) to your main redux store if you need chart state in your main store.
Use the same method you use to pay for the domain to reset the key. This would require logging into your account at the registrar, or contacting support and providing enough verifiable material to reset it.

If the registrar signed a message that had your key in it, they could re-sign it with a replacement key. So now you can 1) verify who originally assigned the domain, 2) record the public key, and 3) see a verifiable history of changes as long as the old history is included in successive signing. This could be used as part of a public record ala Certificate Transparency, or a blockchain-style system. If the attacker spoofs BGP and SE's your registrar, you (or whomever) can see if anyone creates a new key.
Nine months is insulting unless you guarantee me a VERY generous severance if things don't work out.
Gwydion Dylan used a two-word representation for values - a full word as a type tag, and then a word for the value itself (whether pointer or int). It was an interesting experiment, but multicore basically killed it. Once your basic value representation is more than a word, then every load/store/manipulation of a value requires a lock around it, to prevent corruption if the thread is preempted when the type has been written but the value has not. The locking overhead kills performance.

Or you can go with a GIL (but for compiled code) the way Python and early Ruby/JS implementations did, but that hasn't worked out terribly well for them either.
No clicky keys?
From what I remember, it's simpler than that:

Assume sqrt(2) is rational and has the reduced form (x/y). Thus we are assuming that x and y are integers and that gcd(x,y) is 1. You square it and get x^2/y^2 which are somehow simultaneously coprime integers and also reducible to 2/1...
I think here they just meant, show that no rational number is the square root of 2. Not rational = not expressible as a ratio. You assume that sqrt(2) = p/q for some integers p and q, then derive a contradiction.
Ok, I will assume that by "model" here you mean a probability distribution on the parameters relevant to your experiment. In that case I agree with what you just said: knowing exactly the correct model is impossible in a similar way that knowing someone's height to an infinite degree of precision is impossible. But I never said anything to the contrary. The H_0 I gave corresponds to an infinite set of models and not a single one (note that I said the difference is less than a certain threshold, not that the difference is 0 (although it still would be an infinite set in that case, but the probability would be 0)).
Monkey in selfie case has no right to sue for copyright infringement
"consume more so that we can consume more responsibly"
Because in the space of open source operating systems, we realistically only have Linux Kernel.

With each new release of Linux kernel, the internal kernel interfaces that device drivers use, change. So whatever binary kernel driver the vendor released with kernel version x is not going to run with next kernel version y.

You only have 2 options:
1. Either you get the source of device drivers, which the vendors don't release because they want to protect their hardware IP

2. or the kernel keeps its interfaces stable so that drivers released can be reused again.

Right now, both are not happening and that is the real reason Android phones have a life of at most 2 years.
I don't know if it really proves anything and it might be OT from your point, but, the confounding variable is that in the US - especially outside of the major urban areas - everything is just very far away in terms of miles. Lacking a car, you can expect life to be very difficult. there are still plenty of places in the US where the range of a tesla might be a borderline problem week-to-week. (though probably not as often as people think and if you plan well)

My casual observation is that smaller countries just have a lot more good options when it comes to transit because the total distances are much smaller.
Facebook: Community Standards
It’s in the second paragraph. This article is spun so hard it’s headed out to sea. I’m as down for a ride on the current administration hate train as the next guy, but how is this a bad thing?
They still have those in Vancouver.
> no one actually believes that anyone can code. [..] When did an entire industry of people get pre-judged as lying?

I've been hiring recently for a senior developer and I have had a dozen or more candidates not be able to explain composition and inheritance or the differences between an Object Oriented or Functional language. One person started describing how to define functions and another couldn't really explain inheritance.

For my company, candidates lying on their resume is our experience. A number of people ARE lying on their resume. we've front-loaded a lot of the "we don't trust your resume" in to the screening process and the first 30-minute screen because so many people list the dogs breakfast on their resume, but really can't do those things. I think a lot of times, someone else on the project team may have hacked on that type of thing and so they list it on their resume. There aren't a lot of good answers -- besides validating those skillsets -- since people can list anything that they want on their resume. I would love for someone to have an accreditation or certification program that was widely used so that we could know someone could do the work and most importantly do the work well since the implementation and the patterns they will be choosing will be with our company for years to come.
IMO conflating air polution and greenhouse gases does not make a lot of sense. CO2 has the highest impact greenhouse gas, yet it has no adverse health effects in the concentrations humans are exposed to it. In terms of CO2 emissions per capita, China is AFAIK still below EU average and 3x below the US who is by far the worst offender among highly populated developed nations. Air pollution is a problem, yes, but a different one than combating human induced climate change.
Context to me seems like a sophisticated way of declaring global variables. Might as well do const GLOBALS = { ... } instead of another complex API that has to be loaded.
Observations on Modern Computing (The Last 10 Years Were a Misstep)
His endings have consistently left me expecting a sequel. Well, not really expecting, any more, because I pretty much know what (not) to expect. But then there was Mongoliad, so ???
That the world exists only to satiate our appetites is practically a founding doctrine of consumerism. That kind of "human exceptionalism" actually degrades man and reduces him to a mere consumer and then corrupts him and renders him an obsessive, exploitative, perverse, and disordered creature, a voracious idiot and a pathetic disgrace. If you want to live the good life, you must respect human nature and its inherent end(s). Dismiss ends, and not only do human beings unravel and become unintelligible, but so does everything in existence. No bespoke delusion engineering here.
Supposedly risk should be probability times cost. But I think that people have a remarkably difficult time processing a risk that's based on a very high cost and very low probability. (The limiting case of an infinite cost and infinitesimal probability is how I describe Pascal's Wager).

In those circumstances, it's easy to imagine the mental math: Firing someone could cost many times their salary, but a screening service costs 50 bucks per candidate. So the chance of weeding out one bad candidate pays for the service, right? Where's the fallacy?

I think the fallacy is that the service doesn't actually improve the hiring process, and the ROI is zero.
I don’t understand why getting a degree in cs at a good peogram isn’t good enough for the proof you can code. I had to write a ray tracer in graphics, calculate recurrence relations and code them in advanced algorithms analyzing all sorts of run times, wrote a compiler.

My friends in top law firms hire from top law schools and don’t ask technical questions to candidates. If they make it through top law schools they have an extremely high success rate as employees. Should be same for our field.
Bloomberg remains a well written and research news organization. Most news sites attempt to monetize their content somehow.

You point out a valid problem, but, this is hacker news, and it is completely possible to find a technical solution to your problem that doesn't involve ignoring a major news channel. Try U-block, or ghostery, the combination of which seems to prevent the video from playing entirely on my system.

EDIT: Clarity of phrasing
How to Find Your True Passion and Live a Life You Won’t Regret on Your Deathbed
I've been using Haze Over for years now. https://hazeover.com/ Does this do anything differently than Haze Over?
Let's Encrypt does not currently validate from multiple perspectives but we're working on it. We're cooperating with a research team at Princeton to make sure our strategy is an effective mitigation against BGP attacks.

Any given production validation right now may come from one of two of our datacenter locations, but not both.

You may see multiple validation requests if you use our staging servers, but that's just an early version of multi perspective validation which doesn't work well enough to promote to production. There are some performance issues, and the external validation points are all on AWS, which uses the same autonomous system (AS) across datacenters. In order to effectively defend against BGP attacks we're probably going to have to deploy validation servers on 3+ different ASes so that our network perspectives are sufficiently diverse.

If multi perspective validation is effective and nothing is done to significantly improve BGP security (we're not holding our breath) then I expect multi perspective validation to be a requirement for all CAs down the line.
The iPad's Focus Problem
That’s simply wrong. Best case, this is ignorance on the Route53 marketing team. Worst, it’s actively misleading. Disappointing either way.
Except singapore and taiwan no other country has mandarin as its national language. Infact more countries have tamil and hindi (ex british colonies) than mandarin. Food for thought
How HTTPS works: the webcomic