skysight-inc/HackerNews huggingface dataset:
For me, I think it's one of the greatest unfortunate event in the age of modern desktops.

In the late 1990s, on a Pentium MMX computer without a GPU, it was possible to have a reasonably usable desktop by utilizing simple 2D operations: 256 ROPs, line drawing, rectangle filling/copying, and mono-to-color expansion. They were usually a subset of Direct2D specs, and implemented by the vast majority of graphics chips, like NeoMagic or Trident.

As the processing power have greatly increased, today, it's almost impossible to use these machines anymore - simply moving a window will put the CPU in 100% load. Because today's desktops use composite window manager, it's already impossible to translate a window move to an exact RectCopy command.

Even if composite is not used (and ignoring all the complexity of modern highly-abstracted GUI systems where you cannot say the boundary of a window is a line), we still cannot accelerate it, because the entire 2D graphics stack was simply thrown again, there's no standard 2D APIs for applications or developers to use. X Server still has EXA, but it's again, is not a modern framework, and it's not possible to run X without using root.

I have a little non-x86 laptop with a 2D blitter, the graphics is nearly impossible to use, and things are getting worse and worse day-by-day. On the other hand, if you port Windows 95's graphics stack on it, it should be perfectly usable.

In the end, I think it's the unfortunate result of economics - sure, there are still many uses of running GUIs/desktops with 2D blitters, but the benefits of supporting it greatly exceeded the cost. A GPU is much cheaper.
I didnt really mean CO2 specifically, I meant it improves air quality by removing other chemicals from the air. Either way the effect is not completely insignificant especially over long periods of time with correct conditions.
You could ask them to press it. "Excuse me, could you press the crossing button?" There are few strangers to social awkwardness.
The use case for Revery was to drive development of a text editor - and it turns out a lot of UI is custom in that case. And if you look at the landscape of Electron apps - Spotify, Discord, Code, Slack, etc - most of them are highly customized experiences that are mostly identical across platforms. It seems that style is "in fashion" these days.

I agree 100% that it isn't always the proper trade-off, though - there's another ReasonML project called Brisk [1] that is similar in spirit to Revery, but with platform widgets.

In fact, we're working together on several infrastructure pieces (the core 'reconciler' - the native React-like piece - is actually developed by the Brisk team). So if you're interested in ReasonML + native app development - that might be one to follow!

We see the potential too for some exciting hybrid approaches - perhaps you prototype a cross-platform app in Revery, but then switch to Brisk for platform-specific projects, etc. Or even embed Revery in Brisk.

[1] https://github.com/briskml/brisk
You’re right I didn’t stop to think of the children. And there you go, now we have the encryption broken and the National security letters as the reason they were forced to do so. It’s just as many of the comments above are saying you’re really just making this new shared infrastructure an enourmous target.
> No cert chain for starters.

why would the person who arp-spoofs the gateway in the Starbucks not be able to fetch your self-signed cert chain and mint their own matching chain with the exact same metadata (but of course differing keys)?
IPv6 people realised that technology enables exponential growth and made their space 79 billion billion billion times larger, unlike barcodes which only went 1000 times larger.

On the other hand people actually use 13 digit barcodes.
People strongly influenced by gossip even when it is explicitly untrustworthy
A very sensible idea, and not just for tax laws, but I can imagine a lot people having problems with that kind of approach because they survive by interpreting/creating the ambiguities that go into most legislation.
Assuming the results of that study hold up, it seems like a legitimate concern, although at those CO2 levels I dare say there would be bigger problems.
As I said over in the hackaday thread, many people both there are here are having trouble confusing the geomagnetic storms from flare ionizing light, geomagnetic storms from coronal mass ejections, and EMP from fast nuclear fission xrays interacting with free charges through compton scattering.

Geomagnetic storms from coronal mass ejections will not hurt small disconnected electronics or transistor junctions. The timescale of the rate of change in the Earth's magnetic field is not short. There are not high frequency components. Only long conductors like oil pipelines, telecommuncations wires, and power lines and the backbone transformers will be effected. The integrated circuits in your smart phone will not be.

Also, like I said in the hackaday thread, in most of the ways that matter (ie, geomagnetic effect at earth) the 1989 CME that blacked out part of Canada was significantly stronger than the Carrington event. We, as Earth, haven't really added that much more long distance conductors since then. I wouldn't worry.

That isn't to say there's no danger. Certainly trying to replace the backbone transformers when the electrical infrastructure is down would be very hard. Those things take months to make, ship, and install in a well operating society. A CME that knocks out the power grid everywhere would be devastating.
Can't you make a pretty similar argument about all types of patents?
I think American patents changed some time in the past decade to match how they’re done in the rest of the world; The first person to patent the thing gets the rights completely regardless of the time or person the implementation is associated with.
Groovy had null (optional) chaining

https://therealdanvega.com/blog/2013/08/20/groovys-null-safe...
Poorer urban areas tend to have a lot of older properties with flaky, poorly maintained paint jobs that often include several old layers of leaded paint in them.

Better-off areas have long since been mitigated or can afford to maintain their buildings to prevent chips from lying around.
This isn't an article about how sama was successful. It's an articler about traits sama--a person who spends most of his time observing people succeed or fail at business--has observed more common in people successful at business.

He's in a much better position than most any of us to avoid survivorship bias in this. I see people once their business succeeds. He's there observing people early on, so he gets to witness both the successes and the failures.
I heard that you would need about 40(?) plants per person. Best advice was to be well ventilated unless the outdoor CO2 is worse than indoors.
Maybe use another phone number to verify the account and change all the details to something random. Then, if there was a data breach, the only information anyone could obtain would be useless anyway?
How is it not proof? It's using the most fundamental of logic. We're talking elementary logic here.

I see a thing, this thing must of came from something. Things just don't appear for no reason and with no creator.

A pen, a banana, a baby, a piece of code, all of these things came from something. And all of these things compared to the universe are incredibly simple. But how come you believe the universe came into existence from nothing and without design?
Ask HN: Can we get a hide submissions from domain button?
Frankly, I'm sick of reading through news on HN.

Sites like bloomberg and nytimes that hold an almost permanent spot on the front page but seldom satisfy my personal curiosity.

I would like to be able to stop them from showing in the page ranking, and I believe there are others in the community that would feel the same.
In Toronto, most of the buttons have long done nothing to control the light cycle, and only trigger the audio crossing indicator. Lately they've been replacing the signs signs on these, with each now saying "Button for audible signal only". Good way to re-purpose the existing hardware.

See here for a comparison of old vs. new
https://i.imgur.com/a0FXI5c.png
They did, it's why you no longer have to reboot when upgrading video drives. You just get a couple of black screens as the modules are reloaded.
Yes PG has more usability features but it is not a match on performance at all and lacks the advanced features that enterprises want. I don't know why this is so shocking to hear. These commercial engines have billions of dollars in research and engineering, they're not just standing still and aren't obsolete because PG finally got parallel query (which is only workable in v11 and still years behind the others). There's a reason why all the enterprise PG distributions add so many other features and even basics like connection pooling, because that's what it takes to compete in the enterprise space with its vast and complex requirements.

As I said, "If you can use Postgres then you didn't need a commercial system in the first place."
You could have been more generous and assumed they meant `succ = await submitForm();`
Saying people are obese because they have eaten too much is like saying people die in traffic because they accelerated or decelerated too fast. Technical true but very unhelpful in describing the problem and potential solutions.
The future of Apple seems uncertain. Some says it is the beginning of the end.

https://www.forbes.com/sites/stephenmcbride1/2019/01/21/the-...

Maybe the rescue plan is to become a patent troll?
Using what is provided by mobile operating systems is the standard. FastMail is decoupling JMAP from notifications because it's a sound architectural decision for that reason.
Disclaimer

The author has never used APL

I’d like to know more about the underlying motivation! APL is a fascinating language but I’m not sure how you’d implement it efficiently in a language like Go - you would need intrinsics to get at the vector instructions no?
(replying to parent as well).

I have not used it but zephyr (https://www.zephyrproject.org) is a cross platform (including riscv) os/platform that looks interesting for embedded development.
Plus R&D, plus technical and warranty support, plus 6 audiologist fitting appointments, plus all the other standard business expenses and, yes, profit.

Parts are a minor piece of the puzzle.
I can see in my (US) company how the GDPR already has an influence on data collection practices. Three years ago we wanted to just suck up all available data and figure out later what to do with it. Now there is much more thought and we have to set up processes for deleting data and other things. It's a little more work but definitely a good thing.
Why wouldn't US companies just file abroad?
American court decisions are strongly based on precedent. If these contests were to move through the court system naturally for a few years, don't you think that over time the volume of work would diminish as each decision became precedent for the next?
I like this concept better than cyclomatic complexity, precisely because this is what cyclomatic complexity is trying to poorly approximate. But it can't be automatically derived in the general case, or even terribly easily in non-general cases, either, unlike cyclomatic complexity.

I use a descendant of gometalinter on all my Go code, and one of the things it ships with is cyclomatic complexity, and I always turn it off. Precisely because I tend to think like this, it often gives my code terribly wrong ratings because it can't see that there's actually only a finite set of paths through the code that are possible, and also as the blog post demonstrates, sometimes adding more code actually simplifies the conceptual flow. But cyclomatic complexity will generally say the "more code" is even more cyclomatically complex.

There's also some Go-specific elements to my distaste for the measure, though; since in Go right now handling an error is automatically an if statement, that'll hit you right in the metrics. But in many cases,

something, err := GetSomething()
if err != nil {
return errwrap.Wrapf("while trying to get something: {{err}}",
err)
}

Officially that's an if statement; unofficially, it ought to be a cyclomatic complexity of zero. Now, it isn't technically a free if clause, in the sense that a bug could live there, but if you're going to count the exception-based equivalent as zero (and it has the same callout; bugs can lie in your exception handling exactly the same way), then this ought to be practically zero too. Consequently, Go functions tend to get smacked with much higher complexity numbers than exception-equivalent code. Yeah, it's probably not a one-to-one, but it's certainly not as lopsided as the metric makes it seem.
How is HTTP/1.1 holding anything back?
Evidence to prove the Bible isn't an entirely fictional work with very little basis in fact. Portions of which can be used to assist in developing a solid moral compass, but historically has been used to justify atrocities rather than elevate mankind.
Apple should really make a android version of iMessage.
At this point, none of the mainstream email websites or applications even show the From address, just the name that came on the email, or what matches from your address book. So, I fully expect people to get mail from webmaster@johnssportsupplyemporium.example.org with a From name vaguely related to me and assume I sent it.
Yes, in fact, there is absolutely no reason to restrict well-built apps like conversations from consuming battery automatically. Even without Google Push Notifications the battery consumption is quite good.

So it is pretty obvious that the vendor built battery optimization software does more bad than good.
Except websockets.
Black bar please.
The Nissan Leaf is a fairly well regarded all-electric car. I've been very happy with mine.
I'm western and educated. Rich is relative. But how can someone be Industrialised? Or Democratic?
They also get backpay so they are not really losing money.
>It's not cheating either; they are legitimately better at it than us.

This is not 100% true, the AI still skips the mechanical part (it doesn't have a mouse, keyboard and hands) in this particular case. This alone can introduce insane amounts of additional complexity, and will make AI to not be pixel precise.
I don't want instant messaging in my email though. If you need synchronous communications, use a chat client.
I wouldn't say that Go iota is modeled after APL iota. They share the same name, but that's really where the similarities end. The iota operator in APL is more like the unary case of the python range function.
These moral/technical equivalency memes I don't think hold water.

Nobody in the US is going to censor your email so that if you say something about Trump it gets magically deleted.

Court cases and mugshots are public information and a matter of transparency. When you murder someone, well, that's part of the deal. That's very different from the government measuring other, minute aspects of your life and making it public to everyone.

If your social media posts are marked private - which is your choice - then for the most part they're not going to be available to arbitrary 3rd parties, moreover, there are definitely social media solutions you can use that don't share anything.

There is an ongoing war over your information mostly for advertising by the way (not hiring) and hopefully some legislation will take care of that, and some dialogue over NSA/Snowden type things. Thankfully, there are actually laws, warrants, judges in the mix.

Surely we have to judge China's actions from a completely different angle, as they have their own history, social system etc. - but the equivalency arguments just don't work.

I think if you tried to text someone a message about Obama, and it was magically deleted by the US government, it would send shivers down your spine, and however political or not you were, you'd be signed up for the first protest/action - as would most of us.

We all have some concerns about our system but it's manageable - what's happening in China is right out of a novel.

Also note that 'it's just begun'. This is possibly only the first tranche.

The de-facto objective may be to leverage tech to it's max - the result is effective total control over everyone's lives.
This comment just helped me to understand a great deal better why the author calls it Bug-O...because it's an issue that rapidly gets worse when n grows.

Imagine adding an additional state to the Bug(n!) version of the author's trySumbit() function, perhaps splitting the error state in to two different error messages based on what goes wrong. You would have to pay close attention to how you got to the state you are in in order to make sure you manipulated the DOM properly, and it would be hard to know you got it right. You would have to consider all the state changes into and out of your new state, figure out which ones are impossible, and account for all the ones that could happen.

If you want to add a state change to the Bug(n) example, all you have to do is add an an entry to the switch case without worrying about how you got there or how you leave.
> And this is apparently now being connected to a national database.

And yet we still don’t get a national id. This is the worst of all worlds outcome.
Webmail was limited by HTTP, but not because HTTP is stateless; rather, it's because no mail server speaks HTTP, which means every webmail has to implement it's own IMAP proxy, and IMAP as a protocol is very, very bad if you don't want to sync emails to your local machine and thus keep your own copy of the whole mailbox state.

On the other hand, JMAP does allow you to get push notifications on changes, outside of the normal HTTP API.
I always defer to Stephen Fry's answer[0], when approached on the aspect of the existence of a god.

[0] - https://youtu.be/I_ciu7_cOhg
Sounds like we are on exactly the same page. Defining "the field" precisely is a rhetorical device. Defining and working on problems is what creates progress.
Time to leave swift alone, so many times Apple is shown to be untrusted organisation
Sounds like you have a ventilation problem, buildings are required by code to get a certain amount of fresh air from outside so that CO2, VOCs, chloroform, etc don't get too high.

Incidentally, NHTSA projects in 2100 CO2 will be at 789ppm [0] in the atmosphere, up from 410 today and 350 pre-industrial. And there are higher projections. One would assume that this would make ventilation more urgent, I guess building codes will have to be updated and existing buildings retrofitted.

[0]
https://www.washingtonpost.com/national/health-science/trump...
A win in the startup lottery maybe. But I would probably claim it's due to my own skill of being at the right place of the right time.
Things You Learn After 1 Year of Day Trading for a Living
>Even Moon does not have life...

*That we know of.
It should also be noted that now the policy is to not grant a TCK to any open source implementation that is not an OpenJDK derivative.
XMPP’s problem isn’t that people don’t care about it. Its problem is a double whammy of having zero branding/mindspace presence and being too technical for many users to bother with.

The second point is especially big. People expect to be pointed to a singular app/site, not “choose whichever client you like”. Your average Joe just doesn’t conceptualize services as being separate from clients in the first place, and even if they did having to choose a client is a dead end.
Note that Revery was built to power a text editor - which involves custom controls and interactions. Even elements as simple as scrollbars get re-implemented in that space.

I've been continually amazed at the ingenuity of the React ecosystem - so many intricate, well-designed custom controls - I believe if you have the write set of primitives, that community can make amazing things happen. So I'm hopeful and optimistic that we can at least get a subset of decent controls. But agree it's a challenge!

There are some cases (like text input) that are just so hard to get right - and can even change between OS versions - so we're looking at native support for some of those pieces.

Also, there is another project, similar in spirit to Revery, called Brisk [1] that uses platform-native widgets entirely. We're actually working closely together with them.

[1] https://github.com/briskml/brisk
I share your skepticism, but this is exactly how Flutter works, hand reimplementing all the ui components for both platforms. Granted it is backed by a resource rich company, but it's not the most unheard of approach.
That might help, but who knows if they're storing all your old info still behind the scenes?

EDIT: I should also have said, as far as I know they don't have another number to use for verification, but of course I may be wrong. I'll ask.
Messenger already has an encrypted mode on devices, though I agree default encryption seems unlikely.
So how do we truly know if we're affected? OpticsML claims they are "working to notify all affected parties", but they have lost all trust and credibility, so I'm not holding my breath.
Moving Forward to an Internet That’s Interplanetary in Scope and Function
https://patents.justia.com/patent/9952841
This is the actual patent. I'm having a very difficult time understand what their actual claims are -- can someone explain it?
Plants produce a net deficit of CO2, so you're correct but over a 24 hour period with proper lighting they will produce more oxygen than CO2. The important thing, however, is that they produce this CO2 at night at such an unbelievably slow rate that you wont be choking to death in your sleep, that's silly. If you fill a room with plants and cut out the lights, most CO2 produced will be from your cat sleeping on the floor than from the plants.

Either way I was referring to other chemicals that plants remove from the air, not CO2.
Common JavaScript Interview Questions
Rob Pike also implemented an APL-like big number calculator in Go more recently: https://github.com/robpike/ivy

>The author has never used APL. It's a chicken and egg problem. (...) All testing has been done with tryapl.org.

There are also a few free software implementations of APL most notably GNU APL. I have been sticking to that while learning APL. https://www.gnu.org/software/apl/
Equifax already has shown that there are no consequences. If they took data security seriously then a breach of that severity should have seriously endangered the company but in reality nothing happened. I am sure other companies have been watching closely and concluded that the cost for proper security practices is too high compared to the cost of a breach.
Nice, perhaps a more robust fatfs replacement?

If you've used this (or are the author) how is the "storage on disk ... always kept in a valid state" feature implemented? Does it write two copies in case a write's interrupted so one can always roll back to the earlier valid copy?
Prior art still invalidates patents AFAIK. Unless there's some recent Fed Circuit decision that changes that.