skysight-inc/HackerNews huggingface dataset:
Thanks for the feedback. I think I was being overly clever by trying to make the product example more complicated than just `m.prod()` similar to the `m.sum()` example, but as you mentioned I was fitting two concepts in one question — operating on an already manipulated variable in addition to the new operator.

I've simplified question 9 to just `m.prod()` from the previous solution of `(m * 3).prod()` for now.

Re: Methods vs. functions — I completely agree! I actually originally implemented Math to Code using Tensorflow.js (which was simpler than using a Python interpreter) where the syntax was:

m.pow(2).sum().sqrt()

Vs.

np.sqrt((m ** 2).sum())

I decided to go with NumPy + Python because I felt it would be more immediately applicable vs. just learning the Tensorflow.js syntax. Also Python allows operator overloading so you can just do `2 * m` vs. `m.mul(2)`.

PyTorch has a similarly clean syntax to Tensorflow.js and includes operator overloading, but there doesn't seem to be a PyTorch shim for Skulpt, but that would be a fun project.
I did not fail to take that into account:

> it will always return either y+1 (with y treated as a natural number, not a finite width integer), or 0 (if y was the maximum value in the unsigned data type of x)

And it does not matter, since the point of formal verification is to help taking those issues into account.
What about traffic stops?
I also remember that something got messed up with my hotel reservation and I mentioned it during my interview and then I heard yelling.

And um... I was still just a college student. It was a different world for me.
With GNU Octave[1] you can run your existing MATLAB code with minimal changes. And since 5.x versions it's now way faster than ever.

[1] https://www.gnu.org/software/octave/
Cake recipe. Ingredients: one nice container, one serving utensil, one cake.
> the bulk of the article is about the Overton window[1] shifting to the point where rigerous journalism questioning outrages of the time is becoming untenable,

That’s not an Overton Window shift, even if it was happening (which it is not); an Overton Window shift would change what the outrages are; making questioning popular outrages less tenable would be a narrowing of the window rather than a shift. But there is widespread and viable news media coverage questioning the outrages of the day, more than any time previously I would venture. It's just that the media is more focussed on catering to various isolated demographic and ideological markets (some more for advertising sales reasons, some more for political propaganda reasons, but the net effect is the same), and so in any particular outlet there is probably less tolerance for stories questioning the outrages of that outlets target audience. But, while the Overton Window may have shifted and/or narrowed/widened over time, this isn't a sign of it so much as the increasingly narrow audience focus of much of the media.
How boring and bland. I mean, whatever floats your boat, but that complaint would apply to a significant majority (if not entirety) of well-renowned English literature. I have enough trouble sitting through a book as-is (I'm a slow reader, since I like to "hear" the narration and dialogue in my head); can't imagine how soul-sucking it'd be to sit through a book that just told everything matter-of-factly with no narration personality whatsoever.

Like, the style's kinda the whole point. It's a key part of the artistic value of literature, and what makes literature entertaining (or at least moreso than reading a dictionary front to back).
Sadly Snowden is in a position where Putin can use him for a trade. One possible scenario I thought is Trump getting desperate and asking Putin for Snowden to be extradited so Trump can rah rah about being the man that got "the traitor". Meanwhile Putin would get whatever it is Putin wants from this trade, because as we know Trump is an unparalleled genius in deals...
A Python class for scientific visualization of 3D objects with VTK
I have just launched a cheap fuel finder (for Australia) application using chakra.

https://petrolbuddy.net.au

It's been such a joy to work with, and I have loved the abstractions so far, especially things like <Flex> and <Box>.
It's funny you use that as an example, since Firefox itself uses SQLite as the application file format for history and bookmarks...
Maybe because Trump lowered taxes on people in red states by raising taxes on New Yorkers.
P.S. (not really related): also til Tenori-On was originally promoted by Atom Heart aka Uwe Schmidt, a man of a hundred aliases and endeavors, with a particularly fun project Señor Coconut:

https://youtube.com/watch?v=X-ygv1CKzAk

https://youtube.com/watch?v=tzoMNOids7k
GPUs derive most of their parallelism from emitting rows of related “quads” (the smallest unit of the screen that supports a difference operator). 2D graphics are “chatty” in window sizes that are more like 5–10 units in diameter. It’s hell on HW perf. To make things worse, 2D applications usually want submillisecond latency. A GPU driver/hw stack will struggle to get latency below 1–2ms. When there’s lots of multipass rendering (which is a thing 2D also wants a lot of), latency can to 10+ ms.
> PICs are essentially obsolete, and none of us would ever consider them for new development. They're annoyingly constrained hoary old beasts.

No argument there.
A bit surprising no one has mentioned the old traveling salesman trick: Eat at the local hospital.
Whoops! You’re absolutely right. I’ll fix that in a bit.
Why TikTok is so addicting
Well, some rendering acceleration was with us from the very beginning in form of DMA (https://en.wikipedia.org/wiki/Direct_memory_access) - transfer of blocks from RAM to VRAM.

But that pretty much what we have now even on modern systems.

For desktop UI purposes (but not for games) GPU acceleration started to become critical only relatively recently - on high-DPI screens. Number of pixels jumped 9 times between 96 ppi and 320 ppi (Retina) screens. CPUs haven't changed that much in the time frame so you may experience slow rendering on otherwise perfect screen picture.
GPU:s are generally terrible for video encoding. I think you're confusing the GPU with a dedicated "hardware encoder" ASIC (which may be located on the same die as other silicon components such as a CPU or a GPU).
Some Universities Are About to Be “Walking Dead” [video]
Sigh, do people really think there's some hidden propagandist in Google that blacklisted Churchill's photo? To send what message, exactly? That they will randomly censor images until you do one single click on "Images" which will foil their evil plan?

Many years ago there was an amusing bug for a few days - when you searched for Rachel (I think) the Biblical figure, the infobox showed a happy smiling face of some office worker somewhere (named Rachel, of course). Machines work in mysterious ways, sometimes they pick up signals in totally idiotic ways. At least, nobody accused Google of a hidden conspiracy to discredit Judaism...
Since "Some countries such as Singapore, South Korea and Israel have enlisted technology" , tell us how is it not working over there? There are real case studies. No need to speculate.
That doesn't answer the question. You never should have to block the UI thread. That's just poor application design, independent of the file format; you cannot blame that on SQLite.
So, is this a real thing that happens? Just curious.

If someone shamed me for something like this, I would tell them to get a fucking life and to mind their own business. Maybe that's why I don't get pestered... I'm pretty blunt about not putting up with bullshit. I agree with the article, these left ideologies are absurd. Coming from an independent moderate. Obligatory wake up sheeple etc etc.
-inertia

-legacy designs

-expertise

-corporate politics
The title gore...
Google's history here isn't so clean.

They spun backing out of China as something they did in the interest of free speech, but it was more a response to them getting hacked by the CCP (it's still not clear what was stolen, but something big happened).

More recently they were trying to re-enter the space with a search engine designed to fully comply with the CCP's censorship laws: https://en.wikipedia.org/wiki/Dragonfly_(search_engine)

It's unclear what caused that to get shut down, but its leak and subsequent public pressure was probably a factor.
Event horizon telescope used HDD's being flown around to aggregate their data
Agreed. Particularly because NumPy has a mix of functions and methods where you need to balance parentheses.

I'd like to more clearly show the answers / I originally didn't show what the test inputs (e.g. if square root is tested with 25, 9, and 4) so you couldn't just return 5 if 25, 3 if 9, etc... but I could display some of the test inputs and not all of them.

It definitely would be great to show the intermediate results of the calculations and for things like matrix multiplication `a.dot(b)` isn't very complicated, but it doesn't give you intuition on what's happening under the hood.

Thanks for the iPhone feedback — I tried my best to make sure it worked well on mobile. The few examples I could find of interactive Python tutorials usually involved spinning up a VM with multi-second lag for each question and textareas which were not at all mobile-optimized so I wanted to try and do something better :-).
This quote of hers flashed in my mind, perhaps in response to your observation:

"To make room in the budget for the eternal is not in the spirit of the age."
Legacy code support.

Very low power consumption.

Aggressive pricing (if you've got the volume).

Ace technical support. (Again - if you've got the volume.)
And that's just them getting started. I watched the entire video of last Oculus Connect and it was jaw dropping what they are going for and how much progress they've made. Like, Rainbow's End made real.
I got an ErgoDox about 6 months ago, and yeah that's basically how it's done. You can see my current config here: https://configure.ergodox-ez.com/ergodox-ez/layouts/Pprz9/la...

I don't really use layers outside 0-1 normally, which is why I moved the layer1 modifier to the RHS thumb for easier access.
Exactly, people don't visit Facebook to get unbiased news. They don't want unbiased news. People go there to see news that interests them (and talk to friends and whatnot). The only reason to be against Facebook having a feed based on engagement is if you believe people should not be able to view news that is inflammatory and biased. Perhaps we should force Vice, Buzzfeed, Fox, the Daily Wire, and CNN to shut down and only allow people to read Reuters and AP. That would be even better for the world that Facebook discontinuing the "biased, inflammatory" news algorithm if one is against that sort of algorithm.
Does tuning the hyperparameters for the IA count as creative input or human intervention?
Practical 2D renderers implement an abstraction layer that lets them easily redirect their output to a number of low level libraries, which can be either CPU or GPU-based (or a mix). I worked on a few such 2D stacks, including OpenGL, DirectX, WebGL, and AGG based, and it took no more than a few days to add new 2D backends to an existing pipeline. Most 2D rendering is based on concepts from PostScript so it's usually easy to do such ports -- except for AGG, that one was a bit like a library from outer space. Maxim himself worked on a hardware accelerated 2D renderer for Scaleform, and it looked nothing like AGG, mostly because AGG is practically impossible to move to a GPU implementation.
I guess I can't, because they're both political statements. Politics is either allowed or not. I assume, however, you have some reason in mind, by how you phrased the question.
Ask HN: How's Berlin as a start up / tech hub?
I'm an SF guy with a small start up who can live anywhere.

Really looking for a change, yet I'd still like to be around the start up energy to have the benefits of that ethos.

Is anyone able to shed a bit of light on the Berlin startup / tech scene and how it might stack up? Is somewhere like Amsterdam just as good or better? How about Talinn?

Really appreciate any info or ideas. Thanks!
> It's hard now to find any news outlet now that sticks to "Who, What, When, Where, Why"

No news outlet has ever really done that (and why is usually a matter of subjective ascription, rather than fact, anyway.)

The illusion of unbiased news comes from a time when the major national media were a small set of corporations with largely similar institutional biases, and when advertising was less targeted so number of eyeballs was more important than a narrow, focussed audience, passionate, demographic, favoring a blander presentation and more effort to avoid offending any large group, rather than trying to appeal very strongly to a narrow, specific group.
Tying all reporting of facts to a need to push virtuous political narratives is braindead.

By the way, Taibbi is doing fine, financially. So I hardly think this is a grudge article.
>No community, limited features, spotty performance.

GameSpy.
Web platform's hidden gems – Gamepad API
And somehow that "list of people Google won't show photos for" applies in some European countries and not in others? Because Google is showing pictures for both of them to me.
Tips untuk Menyewa Tukang di Indonesia
You certainly can sue, but you would be expected to fail because accidentally looking substantially similar is not copyright infringement.

There is some precedent for substantial similarity in certain popular songs, but it is based on convincing the court of the argument that the author of the later work must have had heard the original one (for example, over the radio) and copied parts of it, possibly unintentionally.

However, if it's reasonable to demonstrate that in your proposed case that "someone else" had not seen that particular one-in-a-billion image of dogs sitting on a park bench (since probably noone had ever looked at that particular image out of the billions you generated), then their creation is not a copy of your image ("bits have color" - even if it would happen to be perfectly identical, it's not a copy if it was not actually copied) nor derived work of your image and so it does not infringe upon your copyrights no matter how similar it looks.
I wrote this earlier, but the thread has become massive and hard to navigate so I figured I would respond to you here.

Google's history isn't so clean either.

They spun backing out of China as something they did in the interest of free speech, but it was more a response to them getting hacked by the CCP (it's still not clear what was stolen, but something big happened).

More recently they were trying to re-enter the space with a search engine designed to fully comply with the CCP's censorship laws: https://en.wikipedia.org/wiki/Dragonfly_(search_engine)

It's unclear what caused that to get shut down, but its leak and subsequent public pressure was probably a factor.

That said, I still think people within these companies should try to do the right thing (specifically that includes developers like us that make up these companies).
I used to go on complaint websites and pretend to be consumers and write all kinds of bad stories on my competitors.

Also plan to buy a burner phone and call my competitors for an "emergency repair" and send them on a joyride 75 miles away because they believe there will be a $10,000 job just waiting for them.
I hope these systems will be more modern in terms of tooling. For example, having the LSP server[1] will help a lot for those who don't want to leave their favorite editor. Or a better Unicode support[2].

[1] https://savannah.gnu.org/bugs/?57106

[2] https://savannah.gnu.org/bugs/?57103
What you talk about still exists. Such content is now entirely in stories. Feeds are mostly an anachronism.

Chat and stories are what most people want and use.
In a similar spirit, I wrote a simple decompressor for DEFLATE. Here is around 500 lines of Python code: https://github.com/nayuki/Simple-DEFLATE-decompressor/tree/m...

DEFLATE is a ubiquitous compression format that is used in ZIP, GZIP, PNG, Git, and more. It is decades old and much less space-efficient than LZMA.
> the ECHR or CJEU—I don't remember which one—ruled that you can't sentence a person to prison forever

I believe you are referring to rulings by the ECtHR[1]. In fact it was determined that the situation in the UK was compliant with the Convention because prisoners have the possibility of applying to the Home Secretary for compassionate release. (This mitigates the concern that, for example, someone could end up in prison for 100 years while society changed around them such that the original sentence became seen to be unjust, but the prisoner felt they had no prospect of having their situation changed).

As for how this affects Assange's extradition, it is already the case that the US must promise not to execute him before the UK will hand him over, so they could perhaps also promise to review his sentence after 25 years if he is imprisoned for that long. (For reference, he turns 50 next year).

[1] https://en.wikipedia.org/wiki/Life_imprisonment_in_England_a...
I still don't understand your point sorry =)
Hmm interesting, thanks for the report! I'll see if I can set up some kind of client-side error tracker so I can investigate more easily in the future.

It's possible that it timed out when computing the result — it evaluates the answer in a web worker with a 2.5s timeout and execution is slower on mobile. I used to get timeouts more regularly, but it's fairly optimized now — it checks all of the test inputs and evaluates both the expected solution and user-provided solution in a single Python function.
CSS technically came out near the end of 1996, but I don't think it was widely used for layouts until the early 2000s when sites like A List Apart and the CSS Zen Garden were advocating against using tables for layout and separating content from presentation. A lot of web sites back then were made by mocking up a design in Photoshop and then splicing it up into a bunch of image files that you meticulously recreated in a grid using tables and spacer GIFs, so transitioning to fluid CSS layouts required rethinking the whole design approach for a lot of people. (I initially only used CSS to add hover color to my links, since that was one thing you could do in CSS that you couldn't do with plain HTML attributes.)

"View Source" was definitely the thing that got me into web development and eventually programming in general. That and reading books at Waldenbooks at the mall while my mom and sister were shopping was pretty much how I learned everything back then (since we didn't nearly the wealth of online resources we do today, and the ones we did have weren't as comprehensive as something like MDN). I remember Microsoft's web sites all used VBScript instead of JavaScript back then. I remember seeing Flash for the first time and thinking it was incredible but then being disappointed that it was a binary file format that I couldn't recreate.

Like the article author, I've oft lamented how byzantine and opaque modern web sites are to tinkerers thanks to things like CSS preprocessors (which can often lead to complex class webs like the excerpt in the article) and JavaScript minimizers (which, even if you "unminimize" it, strips meaningful symbol names and comments). Granted, there are a whole ton of new ways to learn these things, but there's something to be said for just diving in and seeing how somebody else did it.

(Edit: I should note that the CSS inspector and JavaScript debuggers in modern browsers do help bridge this gap.)
I like the HP Premium 32 paper for use with fountain pens. Smooth surface that ink glides onto.
Sagemath is probably the best you'll get in the free software ecosystem. I don't think anything comes close.

Yes, better tooling would be nice. But I think better math support would be better. I encourage everyone to read William Stein's posts on the challenges they face on that front (incredibly hard to get funding, etc). Their resources are very limited, and they have to prioritize heavily.
For Once, Don't Do It
Definitely more difficult than a single curl/wget request. You now need to parse the results, run a Turing-complete language, launch other requests based on output from that language, then wait for all results to be compiled into the final HTML, which may not even be possible for a continuously updated page.
Capitalism is not the thing preventing farmers from easily selling this stuff directly to consumers.
I very curious to see at what rate the car could charge wirelessly.

As expected, 0 kW.
Yes, but it’s beyond overused at this point. It’s similar to SJW with some additional shades of meaning since it’s describing foreign politics.
Who's "we" in this case? Not everyone is on board with the new left who condemn at whim well meaning people who don't follow the temperamental and shallow whims of "wokeness." Free speech and thought are oppressed and people who don't follow the line have their names plastered online and their jobs taken away. Taking offense has somehow become a form of coherent argument. Social media has become a tool to foremost ridicule and destroy people's reputation.

Not everyone on the "left" is on board with this. There's still a large number of us who respect reason, intelligence, civil discourse, liberty. We just don't appear to have a candidate who represents us, or a late night talk show that represents us, because our stances are not principally rooted as being in opposition to other entities. There are a few journalists and voices that still speak and write foremost with respect to reason and in accordance to reality, but the current social and political climate is so inflammatory that this becomes difficult.

People like us exist, our existence is just not expressed majorly in media or social media.
Robinhood in the news lately at least twice for their platform crashing during extreme events, like when traders really need to get in or out.

Also, selling trade data to high frequency traders is like sabotage, like fraud, as the pro's are known to take the opposite side of trades and crush the retail idiots.
Ugh, deceptive headline.

More accurate: Tesla's Model 3 now includes wireless phone charger
Hello, this was called a terminal back in the day :)
I noticed that the Gergo keyboard from the original post has a small screen, like a real terminal would.
https://music-grid.surge.sh/#0-1040-528-256-576-1058-1088-10...
I wrote this:

> Fuzzing is only relevant where formal verification cannot be exhaustively applied (which is reality in turing complete languages), or is too cost-prohibitive.
This one in particular:

https://patents.google.com/patent/US5847450A/en

https://www.eetimes.com/microchip-sues-zilog-over-8-pin-micr...

However, it would not shock me if someone were to take a critical look at the validity of Microchip's patents.
My Prius has a wireless phone charger and I'm sure numerous other cars do.
Curating good technical articles because good things are worth sharing
Over the weeks, I've gathered some articles I've thought to be insightful and shared my learning along with them as well. Hope you will be blessed by them! Good things are worth sharing! (:
https://www.google.com/amp/s/amp.theguardian.com/books/2018/...
Thats not pseudo socialism

Thats just socialism.

The definition of socialism is social ownership of the methods implemented. In all cases above, the public at large owns the cost (and benefits) of the methods implemented:
Medicare, Medicaid, affordable housing etc. We all pay for them, full stop.

Just because some of the programs have worse outcomes than elsewhere in the world, doesnt make them "less" socialist policies.
Yeah that headline has to be on purpose. I clicked so fast, expecting some breakthrough in wireless CAR charging.
I like and have been using Basecamp’s Shape Up process.

https://basecamp.com/shapeup
For sure. I wouldn’t want to go back to that specific period of journalism.
Gathering data != insider trading.