skysight-inc/HackerNews huggingface dataset:
Hmm.. the Google article stipulates:

> WebAssembly on the other hand is built entirely around raw execution speed. So if we want fast, predictable performance across browsers for code like this, WebAssembly can help.

So i wanted to see how i could use WebAssembly in a React webapps. I found this SO question sees the opposite:

> When running this [ WebAssembly] code in Chrome, I observe "pauses" that cause the app to be a bit jittery. Running the app in Firefox is a lot faster and smoother.

https://stackoverflow.com/questions/53584607/react-app-with-...

Same code, different browser, different performance. I'd love seeing a Google Developer answering that question in depth..
What are the cleaner alternatives?
If that were true (and I'm not so sure it is), then you'd blame the search team for letting it be a ranking factor. It has nothing to do with web standards.
> I'd be able to run an md -> html -> pdf pipeline in a lightweight, headless build script.

This is how I make my presentation PDFs from Markdown files using pandoc (except I think for me it's md -> latex -> pdf). I use Snakemake[1] to automate it using the following Snakefile: https://gist.github.com/DarwinAwardWinner/5c3fd8fb82757bb04a...

The idea is that you write presentation.mkdn, and then run "snakemake", which runs pandoc to produce presentation.pdf. Any images you include should be in a subdirectory called "images". If you have "images/giraffe.svg", you can include "images/giraffe.pdf" in your presentation and it will convert it for you automatically (using Inkscape's CLI), and same for pdf to png using ImageMagick.

[1]: https://snakemake.readthedocs.io/en/stable/
They are caching a chunk of the web and routing traffic from google.com to their cache. Since traffic never leaves google.com, it is now in a way the web itself. This is achieved thanks to AMP.
Stop Lecturing Me (In College Science)
I find free-pascal to be an intellectually and technically interesting option. It's not new and shiny that's why it's not compelling to many people.
It is if you can make a paper out of it and increase your publication count.
I don't have any problem on both laptop (MacBook Pro, 16GB) and desktop (Mac Mini, 8GB). I usually open 20-30 tabs. Did you try disable some plugins?
I haven't used it, but https://openwhisk.apache.org seemed the most promising when I was looking for a self-hosted lambda equivalent.

Not due to any limitations of lambda, but just for personal projects where I already have a server at home anyway and it doesn't make sense to pay extra.

(In the end I just went with Docker and Jenkins because I didn't have anything complex enough to justify something heavier)
I would suggest Clojure; REPL driven development (fast feedbacks), fun to code, cool community, multi-threaded etc.

Also, lots of Ruby developers are coming to Clojure world.
Actually the following is even shorter

/A/{N;d;}

So all together this gives the following

ls|sed '/A/{N;d;}'
Researchers create 'malicious' writing AI
If it is literally a quota system...then yes, it is a quota system.
I don’t think he was negative at all. I think his response was one that most everyone would have had.

What do you think he could have done better?
See my "minimal" C++ translation in my other post here. There's not much to add. For JavaScript start with their code, but add the allocation, just replace allocations with
var a = new Uint32Array(height * width); and b the same. Add the timing (1), put in HTML and you're done. It's easy, just a few minutes for anybody who works with that (and this site should be filled with the competent developers AFAIK).

1) https://developer.mozilla.org/en-US/docs/Web/API/Performance
A simple full-featured mail server as a set of Docker images
Tetris 99 isn’t just a great twist on a classic–it’s a gameplay revolution
For almost 11 years now, I've been working professionally with Delphi. And it would be wrong to say it's been a smooth ride. There's nothing wrong - per say - with Object Pascal. Or rather, it's not worse than C++, but Delphi - i.e. the library and IDE - is what's lacking behind.

It was definitely cutting edge in the mid-90s, but it has not managed to keep with the times. Most Delphi developers rely on Indy, a third party library of various classes, that provide a lot of functionality the base library should have provided. And even Indy isn't that quick at picking up new features as the world moves on.

When Embarcadero took over from Borland around 2009, they clearly tried to move it on a direction that would encourage more developers. They created ways to build your Delphi application for iOS and Android, which was meant to get more people to write Delphi. It didn't, since the IDE still cost over $1,000 a year. I'd imagine the people who used that functionality were those who were already 'stuck' with Delphi.

Indeed, even as one who engages a lot in the Delphi community, mostly through necessity, notice that very few people join the community without having some legacy application to maintain. And the community as a whole is dwindling anyway.

Embarcadero should have focused on core aspects of the language, which they are finally getting around to. You can now declare variables in the middle of function? That's so 21st century! (Although the forward compiler can't figure it out, so you'll see a lot of red lines in your IDE if you do.)

I won't be writing Delphi professionally a lot longer, though. As I am taking a new job this March, where I am moving on to Go. So it's more a bittersweet good bye for me. Because Delphi is frustrating to work with on a daily basis, but there is a lot nice about it.
Considering a GUI runs on a turing machine, how is it outside the capabilities of one? Isn't everything we do on computers exactly within the capabilities of a turing machine and just about the ingenuity to create a program that does what we want and about its efficiency?

In other words, if sed is turing complete, this means you could run any other turing complete program on it.

Producing a GUI is also just telling your CPU (a sophisticated turing machine) to format data and how to send the formated data to a display.

EDIT: what justifies the downvotes? Sure the display is not part of the turing machine, but the display is also not part of the GUI. The GUI is a software component that can be created by a turing machine. You wouldn't disagree with me for stating a GUI can be created through a C or Java program.
Honest question: is there a specific person who is smugly grinning about this at google.

Like the people at FB who run around thinking how awesome they are for coming up with a new spying technique and what idiots the world is for not recognizing their innovation?
Beautiful song in a wonderful voice. It is all about friendship
> I'm now working on a project that I think has a huge potential for positive impact on the world. I'm not motivated by money or glory this time around, but just want to see if I can grow and pull it off.

As a new-grad, when I read this I cannot help but guess that you've somehow covered yourself for the future by saving for retirement. I can only envision myself not being at least partially motivated by "money or glory" until I can secure future financial stability.
That's a funny view. If someone comes to your bar and pushes another person's into a stool and kills them are you liable?
Readymade Solution to Build a Chat Application Instantly
I think maybe you're misunderstanding what I meant by fragment based navigation – that's probably my fault. I refer to the shebang style fragments, that was used to implement deep linking in primarily JS driven sites. This of course watered down the use of fragments in pages, and nearly made them useless frankly. Ironically, the history API – which of course as you say requires JS to work – is what probably saved fragments from being completely useless, since it meant everyone could return to using paths for deep linking and still implement their sites as JS blobs if they so chose. Moreover it opened up for hybrid approaches, where the server can actually serve a pre-rendered site that's then amended by JS (or not!) since the server would now see the full path that users were navigating to, as opposed to /my-catch-all-entry-point. Servers never get to see the fragment, after all.
Yeah, let us pretend like there aren't any risks to 5G[1] and instead act like capitalists that feed off of the latest trends. Ohhh... wait, who's pretending?

1: https://eluxemagazine.com/magazine/dangers-of-5g/
It's basically as if he proposed a teleportation device, but couldn't deliver any of it. And when Tim berners Lee build an airplane which everybody started using he starts complaining on how much better his idea was. In recent years he's only been doing that last thing.
Comparing hiring to national demographics is not legitimate. You should compare hiring to national graduates with CS degrees, controlling for institution. That will tell you if there is discrimination in the hiring step. If you want to see if there is discrimination in entrance to CS programs, you go a step earlier, etc. And you keep walking back until you find the source of the discrepancy. Where do women get off the CS pipeline? Is it at the hiring filter? The college major filter? Somewhere in high school? Even earlier? It's disingenuous to place the blame for the entire pipeline at the feet of the entities at the very end. Somewhere there is a bias, but it isn't necessarily at the corporate level.
It's not just fair use. 17 U.S.C. sec. 107.

Although the United States Court of Appeals have determined that HathiTrust and Google's massive deriviative works are fair use--

Authors Guild, Inc. v. HathiTrust, No. 12-4547-cv [755 F.3d 87] (USCA-02 2014) ([I]n providing this service, the HDL does not add into circulation any new, human‐readable copies of any books. Instead, the HDL simply permits users to “word search”—that is, to locate where specific words or phrases appear in the digitized books. Applying the relevant factors, we conclude that this use is a fair use.)

Authors Guild v. Google, Inc., No. 13-4829-cv (USCA-02 2015) ([W]e conclude that Google’s making of a complete digital copy of Plaintiffs’ works for the purpose of providing the public with its search and snippet view functions (at least as snippet view is presently designed) is a fair use and does not infringe Plaintiffs’ copyrights in their books.)

For libraries and archives, they also have 17 U.S.C. sec. 108. Limitations on exclusive rights: Reproduction by libraries and archives. A broad exemption that the Internet Archive would likely assert [and likely satisfy]
Really helpful article for testers.
The JMP Coin is a fork of Ethereum called "Quorum". Its open source.

Check it out
https://github.com/jpmorganchase/quorum
That was a nice article but I would have liked to have seen how they compile/deployed the code. Was it in Gem form or a system lib or something else? Was it a separate package altogether or did it build in their CI? How hard was it to integrate into their deployments?

I guess I'm looking at it from a DevOps standpoint but those types of questions can (should!) inform the decisions you make about your code. Mixing in multiple languages (most likely) increases the footprint of your infrastructure and shouldn't be ignored. This is the same whether you use Rust, or NodeJS, or Python.
They don't do it because runtime metaprogramming has a lot of disadvantages, it's difficult to optimize so it runs poorly, it throws away the static typing out of the window and it's difficult to debug. I spent hours debugging Rails code in the past because of the layers of monkey patching.
Paytm Pledges All Assets to ICICI Bank to Borrow INR 1,400 Cr
I have a LOLIN32 with 4MB RAM, it is a dream.
R: Curse of the Champion
> every individual has approximately 8 hours to allocate to “me time”

8 hours of "me time" means:

- you spend no time getting ready

- you work part-time or work remotely and have no commute

- you don't cook and multitask while you eat

- you never take breaks

- you don't exercise

- you either don't live with a family/special other/pet or spend no time with them

The median human being doesn't live like this.
Ask all the c++ metaprogramming people :)
Recent discussion: https://news.ycombinator.com/item?id=19123506 and top comment explains why this book is useful: https://news.ycombinator.com/item?id=19124052

something related to robotics also discussed recently: https://news.ycombinator.com/item?id=19125858
I’d say it’s essential for a functioning democracy to have all decisions made under scrutiny. Whether that’s local or not doesn’t matter, scrutiny matters. And for better or worse, we only have somewhat functioning local scrutiny.

These days anyone who criticizes EU is labeled Putinist, “populist” (case in point: comments around here), far-right etc., but there are legitimate concerns with how EU works:

- There’s precious little public oversight, as parent post described.

- Fixing that is hard. This isn’t US, but a mishmash of countries that don’t have all that much in common: not language, not culture, not shared historical experience (e.g. “eastern” countries are bitching about EU’s heavy-left leaning because they lived through socialist experiments that young Westerners are enamored with, and are vary of repeating them; southern states don’t see economy performance the way Germany does; Poles know Russian aggression all too well and value US military presence way more than most of EU, and so on and so on).

- Cyclical course corrections, so typical for functioning democracies, are non-existent, because voting can influence precious little: voters only have direct control over EP, which is mostly a rubber-stamping body. You can observe it with this directive: wasn’t EP initiative (because at the EU level, legislative/law-making and executive branches are merged). EP still voted for, despite massive opposition, but with caveats. Didn’t matter: backdoor discussions ended the way they ended - including EP position being... not entirely compatible with plenary vote. This is typical, the EP representatives in the trialogues aren’t bound by previous EP vote and see making a deal, no matter how bad, as necessary. Next step is EP approving the result. It is extremely rare for a plenary to reject trialogue output. It probably won’t happen even with this mess, but there’s a chance it might, this time. If it does, it will be championed as the process working (people on HN said that last month when the news hit that talks broke down... not so much). For things that are not this important to this many people on the right side of the political spectrum, it just doesn’t happen.
I would hope not, but who knows? I guess it's more like the road to hell is paved with good intentions.
I sense some cognitive dissonance here. You want that great carbon-free energy provided by nuclear, and you lament all the reasons it won't happen. Except you have no rebuttal to those reasons and almost sound convinced by their soundness yourself.

- Politicians won't back nuclear because of the risk of accident, thus giving legitimacy to the risk and the public's fears.

- There hasn't been adequate research and advancement in the nuclear industry (and other threads mention the lack of applied design research). So previous scientists and industrials have already determined it's too hard/expensive/difficult. Global warming may change that equation, but it won't make up for lost research.

- So people see the exclusion zones and shouldn't be afraid? We currently have 2 molten reactors with no long term solution found. At what point does the fear become irrational?

- Same point as above: lack of advancement, bad designs, and human mistakes, how can any of these be fixed to allay fears and be operational in time?

- Another comment mentions how storage of waste is a question of will, yet we have pools of it all over, and the underground solution doesn't seem reliable either.

All I hear is that nuclear is the perfect solution if it were perfect and people weren't irrational.

Here's a qustion to help cut through the Gordon knot: at what point is it scientifically rational to accept/shun nuclear?
Real use case for this is so Google can poke into context for links shared via services they have no ownership.

They got used to know exactly what people share and, much more importantly, what people click on email, thanks to gmail rewriting all links to a google track url (while misleading the user by a fake status text on mouse over). When they sum the info of 1. who send it, 2. who clicked on it, 3. what was the email context, they can further classify the page content. (for ads, search ranking, whatever they do today)

But they can't do that on whatsapp, facebook, etc. With this "feature", now they have at least a modicum of context when the page impression show up on their Google Analytics trackers. Did you visit that wikipedia page because of recent news events, or doing homework?

Or, we could just go with occam's razor and believe that a bunch of bored engineers at google decided to simply add a feature completely disconnected from any of their business plans, and spent a few months tweaking a git repo with nothing but a README file... while the actual code review has follow up questions that were left open and merged anyway: https://chromium-review.googlesource.com/c/chromium/src/+/14... ¯\_(ツ)_/¯
This is what being all marketing and no substance looks like.

What big companies think is cool and innovative is always several years behind what actually is cool and innovative. And they always miss the point, in this case what the idea of crypto is.

But big companies are masters of shouting loudly, as in this case where JPMC's PR has gotten this story out in just about every major outlet. Whether this is anything beyond a PR exercise I don't know, I get the feeling there are some quite strong internal forces that will not be interested in actually using this.

Someone I know works for a big 4 that is also roughly at this point in the delayed hype cycle. They are furiously selling blockchain solutions to everyone who will listen, and doing quite well at it. They did a firmwide review of internal skills recently, and amazingly there are zero staff who have any idea what a smart contract is. You wouldn't know if reading about them in the news, but they are getting paid millions and millions for various projects that are currently undeliverable.
Those are both responses to first being attacked.

BT attacked Google with a patent lawsuit in 2011. And Google certainly held the belief that Uber was acting quite nefariously toward Waymo.

Punch someone in the face, do not be surprised if they defend their self and come back at you.
Take the State of CSS 2019 Survey
I remember writing websites at that time. Developers were worried about there being "yet another browser to support". It was a big deal because supporting all the browsers was already a lot of work. Nothing rendered consistently. Javascript would run fine in one browser, but not in other. You got to deal with fun features like quirks mode and worrying about transparent pngs. You had to use Flash if you wanted to embed a video.

The web is a completely different place today. Everything renders consistently across the different browsers - even Edge for the most part. Javascript is a modern language now. Video/audio embeds were finally standardized. Layout tools are significantly better with flexbox and soon, grid.

The idea that we were at some web standards pinnacle in 2008-2012 is crazy to me. The pinnacle is now.
Is it so hard to acknowledge that people you politically disagree with might actually have valid reasons and not be the vegetative idiots you assume them to be?
I don't follow foreign politics much, but the last I heard of the Modi govt, they were confiscating people's gold and cash? Sounds pretty close to me.
But you may not know. Some security vulnerabilities are quite hard to spot, even to experts.
I recorded an example of what that looks like about a year ago https://www.youtube.com/watch?v=CZWMc2cXUAw -- I no longer work in Elixir, but this magic still kind of blows my mind.
There have been a few syntactic enhancements over the last 10 years or so. Generics for example. Recently they have also added inline variable declaration (you don't need to put all vars in a function at the top anymore). But these don't really matter to me so much. I think Emb did this as response to "Oh Delphi language is archaic - Java has this, C# has that ..."

I still use Delphi for new projects by default. Static linking of libraries into one distributable dll or exe makes it very appealing. If I wanted this in another IDE, I'd have to use VC++. Also, Delphi's VCL, a near comprehensive wrapper of Win32 (its true strength) and native support for IDLs like COM makes it easy to roll out working software sooner.

I'm currently writing a natively compiled Excel Addin with heavy use of TThread - a multithreading VCL class for the Windows platform. Lightning fast compile & build speeds will spoil you.
Yeah, I was rather sad to see EdgeHTML go. Although I never used Edge, rendering engine diversity is good for the ecosystem.
Waste disposal is a big issue too. No state wants the waste, so it keeps lying around and leaking at decommissioned sites.
I could be wrong, but virtualenv, like pip, is not part of the core language. Its developed exclusively by pypa.

https://github.com/pypa/virtualenv
Good for the consumer.
I'd be willing to bet a lot of money that the ratio of addicts to people "just having fun" is much, much higher in an Atlantic City casino than the average bar.
" No it isn't; it's bound by the outer lambda. "

Not in {lambda talk) where a lambda knows nothing but defined arguments. A lambda has no access to any outer environment ... because there is no environment except the global dictionary where are stored primitives and user defined constants and functions. Take a minute to read this page http://lambdaway.free.fr/lambdaspeech/?view=closure. Closure is a matter of implementation, not of semantic. And there is a life out of closure. For instance in Scheme we could define the pair structure like this

(define cons (lambda (x y) (lambda (z) (z x y))))
(define car (lambda (z) (z (lambda (x y) x))))
(deffine cdr (lambda (z) (z (lambda (x y) y))))

where x and y in the inner lambda's body {z x y} get their values from the outer lambda. In {lambda talk} we define the pair structure like this

{def cons {lambda {x y z} {z x y}}}
{def car {lambda {z} {z {lambda {x y} x}}}}
{def cdr {lambda {z} {z {lambda {x y} y}}}}

where cons is a function waiting for three values. When called with two values, {cons hello world}, the lambda stores them in its body and returns a new lambda waiting for the missing value, {lambda {z} {z Hello World}}. And {car {cons Hello World}} will return Hello.

The remaining issue without closure is that sometimes you have to build it "by yourself", see for instance this page http://lambdaway.free.fr/lambdaspeech/?view=let

In {lambda talk} lambdas are nothing but local text substitutions. As explained in http://lambdaway.free.fr/lambdaspeech/?view=factory_201902_p... . It's as simple as that!
Back in the days of yore, I've made a super simple userscript [1] that was used in my close circles exactly for this purpose; basically is just

window.find(document.location.hash.substring(1))

And yes, it was really convenient to exchange links without need to add "and there search for %word%". I haven't probably seen any other use of window.find [2] ever since.

[1] http://userscripts-mirror.org/scripts/review/8356
[2] https://developer.mozilla.org/en-US/docs/Web/API/Window/find
In my formal languages course in Germany we covered various computational models and showed the equivalences to Turing Machines. We never built complex TMs by hand, only describing how they would work.

I did, however, build larger TMs by hand in a high school course.
Delphi made me lots of applications and money. It was a great tool when it first came out.