skysight-inc/HackerNews huggingface dataset:
We (at repl.it) discovered remi when we were looking for a native GUI alternative. Found remi and was able to write a TicTacToe game in 30 minutes, it felt natural and the app is fast enough to not notice it's remote. Take a look (source code there too):

https://repl.it/talk/share/Python-GUI-Tic-Tac-Toe/6145 (might not take the HN load tho)

The reason we started looking into it is that we have a lot of users wanting[1] to write GUI apps and although we support all the major Python web frameworks[2], users, especially novices, still find it easier to write native GUIs. And I can't blame them, after you've learned a bit of Python, learning to write web apps is a whole new ballgame (HTML and CSS are a different style of code altogether that warps people's minds at first).

Here is a basic demo that renders a plot (using matplotlib) if you want to fork and play around with it: https://repl.it/@amasad/remi-repl-demo

[1]: https://repl.it/talk/ask/does-tkinter-work/6685

[2]: https://repl.it/languages/django
I’m not sure his solutions are sound. I don’t think you should violate your own morals, but the real issue isn’t that your code can be used for wrong doing, it’s that there are no consequences when it is.

I think weapons manufacturing is a better example than software, because it’s much clearer. Weapons are necessary to defend free society, and when they are misused, we hold the misusers to justice.

Or at least we used to. Because today America is actively bombing civilians in 7 different countries, and no one is ever going to be held accountable for the outright human rights violation. I mean, it’s a war crime to kill civilians. I don’t think you can blame the weapons manufacturers for this though, and I don’t think we should have to. Because it’s our common ethics that should prevent it.

I guess, though, that in a world without accountability, your individual morals is all that’s left, but it’s our ethics that need to change if we actually want change. Because if you personally refuse to write the software, someone else will. Like I said, I think you should absolutely refuse to write the software because you won’t be able to live with yourself, just don’t expect the violators to stop unless we stop them.
>Flexible Identifier Names

I'm genuinely confused about why this could be considered a good idea?
Because you end up back on the line you started at, facing in the opposite direction. That's a 180 degree turn.
FYI: Chile has lower homicide rate[1] than the US on average (3.46 vs. 5.35) and Argentina is pretty close (5.94).

[1]: https://en.wikipedia.org/wiki/List_of_countries_by_intention...
Great article. I believe it's important to understand purpose of everything you do.

This story crystalizes that into a very compelling advisory.

Often we do things without that understanding in mind and that can lead to many problems, including miscommunication, errors and possibly what this article alludes to.
Davide Rosa (author) is so responsive. I'm speculating but I think it was flying under the radar before we found at repl.it.

We see Davide helping people on our forums and fixing bugs as they come.

https://repl.it/talk/ask/Python-GUI/6924
Learning to touch-type. I spent maybe a few days in aggregate when I was in high school to learn it on my own, and it's a skill that massively paid off in the almost 20 years since.
And now I have to read that book again. Thanks!
Anyone have an alternate source? Force.com itself is a tracking domain that I block.
> Go is also flexible in that it does not enforce a particular style of programming

That’s actually kind of a main theme of Go, that it’s very opinionated about what the right way to program is, and doesn’t do you any favors if you try to use it to do things in a way it doesn’t think aligns with that.
Because they didn't run any red lights :)

ie. reserve one star for when it's really bad.
Everything you said sounds really impressive, but

>visual systems fed from a constrained input domain lose the ability to meaningfully represent real-world input.

Seems to imply that looking at a computer monitor for too much of your life means you won't be able to see the real world, or not "see it right", whatever that means.

The only example of that I've seen is some people (kids, presumably) commenting on the Nvidia RTX demo videos that the non-raytraced versions, which lack real world lighting dynamics, look "better" than the raytraced ones, which were, to me at least, obviously closer to physically realistic, representative images. Now, whether they were saying that because their eyes have literally programmed themselves for cheaply rendered video game worlds, or because they didn't want to face spending the asking price of the RTX hardware, is up to the reader.
Electric Generator using living Electric Ray organs
https://github.com/symisc/unqlite/blob/master/LICENSE

It does use a fair amount of sqlite source.
The Maya still exist today. What people often refer to as Maya is their classic period.

In recent times, the Maya were massacred by a US-backed dictatorship:

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

And that's one of the reasons people flee the area.
>Warning signs also included looking out for “union words” such as a “living wage”.

Folks trying to make ends meet...
"I would short FB if I had a position."

Just because your experience is getting worse doesn't mean in any way shape or form that the company is in trouble.

" WhatsApp founders leaving is due to a values"

This is really hard to handle.

Values? They no problem taking billions of dollars from Zuck. Moreover, they are not stupid people - they knew that the money has to come from somewhere, and that ads are basically the only way FB is going to work.

The bizarre the kind of naive pop-culture logic floating around out there the last little bit.

If WhatsApp founders didn't want ads, they why'd they sell to FB? Why not just stay independent? Surely their model was unsustainable on some level.

They knew exactly what they were getting into with FB to the point that it was even spelled out in the contract, which is why Zuck has lawyers present when speaking to WA founders.

Of course there are questions as to 'other means of monetization' and 'the degree of monetization' but we cannot be pale in this: there must be monetization just a surely gravity will pull you down to earth.

The only reasonable discussion is 'how' and possibly 'how much'.
The problem is LCDs have much worse objective performance as the backlight diminishes. E-Ink has tragically bad contrast of 15:1, but it maintains that contrast ratio in low lighting conditions. LCD panels rely on high brightness for their contrast. At very low brightness, even the best LCD display has poor contrast.

OLED displays have a different problem; they have so much noise at low brightness that the image falls apart. Still, I think a monochrome OLED display is what the person who wrote this article actually wants. It would have better performance in every respect to E-Ink, and it doesn't sound like their application requires E-Ink's low power.
Is there any documentation of the testing/verification process used in UnQLite? One of the things that gives me confidence in SQLite is https://www.sqlite.org/testing.html and it'd be interesting to see what approach UnQLite takes to the same problem.
Lower risk: No savings? Well, now you have some. Not the right place to advise what to do with your savings, but many would suggest index-linked funds with low management fees.

Higher risk: Eastern Europe sounds like a low cost of living kind of place. 25K Euros might be enough of a runway to build your MVP if you have one in mind.
You could also give him the benefit of the doubt.
Most uber drivers I've met have been very polite, and very concerned about bad ratings.

I had a driver who got lost once, and he just stopped the trip and took me to my destination -- because he would rather go a few miles out of pocket than risk a bad rating.
Since this is a DDG thread, I just wanna highlight a thing I did in vim recently

Using vim you may know you can define the `keywordprg` to use when pressing `K` on a word (in command mode). This is going to, if able, show you some form of documentation

Python is already using `pydoc` in this case.

I wanted something for the other instances, and I wanted to try getting DDG to be an ok solution, since it has that Q&A view.

Here's what I ended up with (for now, surely evolving -- not perfect)

note: you could put this in a ftdetect/javascript or whatever directory, but this is to be generalized for my case, and so I use an autocmd:

autocmd Filetype * if &ft!="python" && &ft!="vim"
\ | let &l:keywordprg=fnamemodify($MYVIMRC, ":h") . "/search.sh " . &l:filetype | endif

Sorta ugly but hey, I don't want to overwrite the keywordprg used by python and vim (if you're parsing a vim plugin you did not write, you may want to press K on a thing to understand what it is)

And in your your vimrc's root you'll need `search.sh` with these contents:

# searches the filetype & keyword
# in case of multiple filetypes (javascript.jsx) we just use the first

firefox "https://duckduckgo.com/?q=$(echo $1| cut -d'.' -f1)+$2"

Cool, now press K on a thing and assuming you use firefox, hopefully the results are OK, heh. It could be improved.

As an example I just pressed `K` on the word `import` in a `javascript` file:

https://duckduckgo.com/?q=javascript+import&atb=v132-3_j&ia=...

If you're using another browser, you could probably just use `x-www-browser` in place of firefox, to launch your default browser (in the case of linux)
Learning sales. I use to only code and my ability to make money doing things I enjoy went way way up once I dedicated $$$ and time to learning how to sell.
They wouldn't be monitoring. You'd explicitly tell them what personalizations you want, and that would be stored in your machine via a cookie that you can delete at will (just like the color scheme/font)

It could either be a power user setting hidden away (like color scheme currently is), or it could be exposed on the SERP interface via a prompt: "Set JavaScript as your default programming language?" "Set vegan as your default diet?" etc
I'm not sure "demands" fits here, but it is funny to see. Similarly, they "demand" you disable ad blocking or enable popups [0]. So, clearly, this company suffers from idiocy more than malice.

0 - https://cbsi.secure.force.com/CBSi/ViewArticle_allaccess?aId...
Imagine you would have had to go your path with just books, without the great math teacher you mention. It would have been possible, but much harder.

Now imagine you have 5 or 10 great teachers, with expertise in different areas of CS. Wouldn't that also have made it possible for you to learn much faster, or learn more in the same time?

And now imagine, you meet a few like-minded CS students, and 'try to implement something' together instead of on your own. That was what really boosted my learning rate.

Of course, university does not have a monopoly for these experiences. But the good CS programs are designed to provide it to you.
Paging Kenton Varda and the company/product/system he and his team created that does something very similar called Sandstorm: https://sandstorm.io/. (Kenton also led the protocol buffers team at Google which is their main format for data interchange).

I'm curious how this is different.
> Figure out how to handle comments or replies

Here you go: https://darekkay.com/blog/static-site-comments/
I think skills like these are much overlooked in academia. Some of the most engaging and rewarding work I've had in my 32 years in computing professionally has been spent better understanding the problem space and the limits to the signals available therefrom. Knowing how to better map the problem to the solution space deftly interweaves the art of science with the craft of engineering, greatly enriching the journey betwixt.
afaik, the Italian mafia in the US restrained themselves from killing cops or federal agents. Mexican gangs have no such policy.
It is a benchmark comparing what type of data structure are easier to use in the two languages.

Of course it is entirely subjective (the author argues for how that is due to a static vs dynamic ownership model) and there is a single data point, which is the author rewriting the code. (two is you consider when he/she swaps one of the data structure)
The last release is a few weeks old: https://pypi.org/project/remi/#history

Just because at some point they did GitHub releases doesn't mean they still do, especially when the installation instructions only mention other channels.
Income is just a proxy (albeit an inaccurate one, and not the only one) for the value you add to your society. From this perspective, there is nothing wrong with trying to maximize it, in my opinion, as long as it is not one's only drive.
Re: autism, there are examples of identical twins where one has/develops autism and the other does not. Clearly nurture still plays a role.
Is there any sense of something like that happening today?
Wouldn’t that be motivation?
I wish everyone who runs that may they never stop , ever :-)

Was a long distance runner from 2012-2016. It was so fun, used to look forward for my morning run every single day - I'd once forgotten all my credit cards when flying to another city but not my running shoe. Almost never missed it for anything. Minor injury broke it for 1.5 months. Been struggling to pick up again since then. It's 2 years. Procrastination and complete loss of motivation.

It helped me keep in shape, improved stamina, and surprisingly it actually had kept my diet disciplined and healthy. I have 12 half organised marathons and one 38km under my belt.

(PS. Had stepped on a slightly bigger rock and had to abandon my first and last marathon - it was trail)
This isn't on their front page, its on their about page. There is also no source of information attached.
> Most of the time seems to be waiting for servers to respond, what probably means the bottleneck is on ad-network CPUs.

A problem easily avoided by never making any requests to those servers in the first place. Block them at the point of ingress to your network (your router at home), on the clients (using /etc/hosts or equivalent) and by using blocking software in your browsers (uBlock et al). No ads, no problems.

It will invariably also mean no access to some sites which either detect ad blockers (...which can be defused using ad-blocker detectors, this is a bit of an arms race) or depend on resources from ad servers (rare for now). You can either make exceptions for those sites or just live without them.
All of the bang commands are probably a great way for them to get feedback on what they're not giving good results from. Very targeted training data.
Interestingly enough, many times GC tricks like object pooling aren't even the first concern; it's usually proper utilization of GPU buffers and understanding pixel fill-rate more than anything.

It's truly wonderful time for all programming languages in this space.
Hello everyone, I'm the creator.
I can reply your questions, if you want. last release was this month.
In your weapons example the problem is nobody will admit it’s a war crime. People will see it t their own way and to this point there’s no official legal consensus about what to call it. So this is left entirely to the morals of the individuals. This isn’t always the case.

There are plenty of situations where legal barriers are put in place to prevent supplying abusive regimes (for example) with certain types of equipment, software, weapons, etc.
Color the board like this:

https://imgur.com/a/kuaeQJW

Note that each tromino covers one yellow square, one red square and one green square. Also, there are 21 yellow squares, 21 green squares and 22 red squares, so the square which will be left must be red.

Now flip the coloring of the board horizontally:

https://imgur.com/a/U7bnATI

and again there is (obviously) one more red square than yellow squares and green squares. The square which will be left empty, should be red in both of the colorings (the original coloring and its reflection). The only squares that satisfy that, are (3, 3), (6, 3), (3, 6) and (6, 6).
Killing people is at the extreme end of ethical concerns, but a lot more people are working on code that's designed to tighten corporations' control over users or otherwise take away their freedom and privacy and increase authoritarianism. Things like DRM, "security" ("because who doesn't want to be safe and secure?"), removing functionality that allows extensibility/interoperability, etc. I've heard it phrased thus: "Do we want to help them build better nooses to put around our necks?"
>> Far less chances of getting injuries with bodyweight exercises

> I found no evidence for this,

From Wikipedia:

"""
Bodyweight exercises have a far lower risk of injury compared to using free weights and machines due to the absence of an external load that is placing strain on the muscles that they may or may not be able to deal with. However, the lower risk of injury is only provided that the athlete/trainee is progressing through the correct progressions and not immediately skipping to strenuous movements that can place undue and possibly harmful stress on ligaments, tendons, and other tissues. Although falling on the head, chest, buttocks, and falling backwards can occur, these are far less harmful injuries than dropping a weight on a body part, or having a joint extended beyond its natural range of motion due to a weight being used incorrectly.
"""
From Wikipedia:

"""
Bodyweight exercises have a far lower risk of injury compared to using free weights and machines due to the absence of an external load that is placing strain on the muscles that they may or may not be able to deal with. However, the lower risk of injury is only provided that the athlete/trainee is progressing through the correct progressions and not immediately skipping to strenuous movements that can place undue and possibly harmful stress on ligaments, tendons, and other tissues. Although falling on the head, chest, buttocks, and falling backwards can occur, these are far less harmful injuries than dropping a weight on a body part, or having a joint extended beyond its natural range of motion due to a weight being used incorrectly.
"""
Whew, theres a lot there. Thanks!
I'm earning Bitcoin by answering paid emails. Join me there and sign up today
...or any defense contractor who works for the DoD.
Suppose I found a triangle whose internal angles added up to 190 degrees. If I did the experiment on it, I would end up 10 degrees away from where I was predicted to be. How can this scenario be ruled out?
v1.2.2
18 days ago

https://github.com/dddomodossola/remi/releases/tag/v1.2.2
The obvious pull quote, already in this thread, seems to say that this is a case of looking where we have the tools to look rather than where it makes a difference. Because you can get DNA with a swab and a MiSeq, you should try to determine the causes there rather than do the hard work of determining confounding environmental factors.

The end argument works out to laziness if the goal is to determine causes. If the goal is engineering change, the article makes it's own countercase - improvements to society-wide resources make for society-wide changes in behavior.
Yes there are student unions but they are mostly just involved in planning social activities if you can believe that. They're completely useless for changing any type of administrative policy.
I have used both LCD and OLED smartphone displays at incredibly low brightness in pitch black rooms for a long time, and I have to completely disagree.

On the other hand, E-Ink is amazing in sunlight, where smartphone displays can't get sufficiently bright.
Gassée probably thought his price was fair - and it was less than what Apple paid NeXT to take them over :)
Yep. I'm always more curious about how I can get back milliseconds based on 2D rendering techniques and GPU-related concerns. I'm almost never thinking about memory consumption. It's always stunningly low, even for games doing a ton of things.

You'd almost truly have to go out of your way to consume browser-levels of memory.
There is the 86Duino borad, based on Vortex86EX SoC.
There are some exemptions for Texas property taxes if you are over 65, disabled, or a veteran. Sources: [0] [1] [2]

[0] https://www.nolo.com/legal-encyclopedia/are-you-getting-all-...

[1] https://www.star-telegram.com/opinion/opn-columns-blogs/bud-...

[2] https://comptroller.texas.gov/taxes/property-tax/exemptions/...
21 years ago... http://www.hashcash.org/
Nice. Good insult.
I'm not allowed to be skeptical of a crowdfunded project when there is very little evidence to persuade me that they can actually do it just because it's ran by a woman now?
The fact that no one will admit that it’s a war crime is exactly the point I’m making. How do you stop that with individual morals? I probably wouldn’t work in weapons manufacturing, just like I wouldn’t write spysoftware for the NSA, but a lot of people would.

If our ethics as a society allow it, then our individual morals don’t really matter.
Deferring judgement, especially when it's negative.

I'm still terrible at it. But whenever I can refrain from destructive criticism, judgementalism, and general cynicism, I enjoy life more and I'm sure others near me do too.
Of course, that was a bug, not an explicit choice to favor usability over security.
Ask HN: Drone spying in our backyard [video]. Options?
Last night I woke up to see that the surveillance camera had caught a drone that was hovering outside our backyard sliding door at 4am! What options do I have to stop this? I would appreciate any help. Thanks!

Video footage: https://youtu.be/bGiBTd4b0ck
Unfortunately, that's not entirely accurate. The problem with language level benchmarking is that the benchmarks are only as good as their implementations and while I agree that different languages encourage different kinds of idioms it seems only fair to use the same data structure/technique when the language offers that choice (as Rust does with intrusive data structures).

The Rust program was not a faithful reimplementation as the author concedes. I expected a more closer comparison given the somewhat broad title of the article. Claiming the perf benefit came out of the thinking encouraged by the language is okay but debatable.
It's a company founded by Tim Berners-Lee himself, As a way to propel Solid.

From https://www.inrupt.com/blog/one-small-step-for-the-web:

So I have taken a sabbatical from MIT, reduced my day-to-day involvement with the World Wide Web Consortium (W3C) and founded a company called inrupt where I will be guiding the next stage of the web in a very direct way. Inrupt will be the infrastructure allowing Solid to flourish
Click the hamburger (3 vertical lines) in the top right corner of the screen

I found it humorous that they simply call it 'the hamburger', and that they confused vertical with horizontal.
This is literally the halting problem.

And it's just as difficult to solve in general as the computer science version.

Regarding success:

"It turns out most people had only one; second acts were comparatively rare, particularly for filmmakers. So if you’ve already enjoyed a streak of success, the odds are against you enjoying another one."

I feel like "X" and "X given Y" are not the same thing.
Someone should really make a film about this.

'The Academic'. You know, gritty, rugged. Like 'Godsford Park' but more about the politics of the fields of research. Through in a little bit of nuanced/amgiguous sex scandal as well. Get Ryan Gosling to play the bad guy for once.
So his solution is to give up, build a "strong home", lead by example, and wait for society to catch up to your "strong home"? That's absurd.