skysight-inc/HackerNews huggingface dataset:
I'm using a patched version of wetty (https://github.com/esantoro/wetty), a web-based ssh terminal.

The patches add the possibility of specifying a different target host, whereas the original wetty only allowed connecting to the host currently executing wetty.

I run it in a container, I've skimmed the source code and it disarmingly simple: it performs a forkpty call to spawn the ssh client binary and then the connection goes on as the forked process is forwarded raw characters.

Under the security POV is kinda okay as everything is tunneled via TLS and the endpoint is (at least in my installation) not advertised very much. I check the server access logs from time to time and I don't see any activity besides my accesses.

In general a web based terminal is very handy, I wouldn't dismiss such a technology so quickly and superficially.
> So we’ve managed to just smash a C program that was looked at by thousands of eyes of quite hardcore low-level Unix hackers over a few decades. We did this with a handful of lines of pure, mutation-less, idiomatic Haskell, achieving about 4 to 5 times of throughput of the C version and spending less than an hour on all the optimizations.

I've done many very arrogant things in my life, because I've been a strange guy with lack of self-esteem who doesn't have a clue how many things he doesn't know. I hope I've never been this arrogant, though.
I think the point is that the pin code to login to the app is printed on the top right corner of the tally sheet. Now that various people have been posting photos of tally sheets online - in the case of this tweet, a staffer for Paul Buttigieg - the concern is that members of the public have been trying out the app and pin codes just to see if it would work, and modifying the submitted numbers.

Though according to the spokeswoman for the Iowa Democrats in the NYTimes article, they don't believe any of the 3 reporting discrepancies are the result of an intrusion.

There's more discussion about this over on the other HN thread: https://news.ycombinator.com/item?id=22232737
> Even though I didn't necessarily have 100% usage on the CPU, I was 10-20FPS below benchmarks for my GPU. This didn't really make sense to me, but after I upgraded I indeed got those extra frames.

That can happen when the game performance relies on the workload of one thread (or at least less then cores/thread count) that couldn't be properly offloaded to the idle cores. The 3600 has not only more but also stronger cores than the 2500K, and thus even without reaching 100% processor usage before the game can run faster now, because the critical thread runs faster.
F# Pipeline Operator in JavaScript with Babel
Make this compulsory. There is a budget for the role or the role doesn't exist. I have a budget for how much I can accept or I won't waste their time interviewing.
>With every step we unlock another level of resource utilization driving prosperity.

I'll let you play this for a bit.

https://www.decisionproblem.com/paperclips/index2.html
The shadiest part of this whole thing is that the developer of the Shadow app has ties to the Buttigieg campaign:

* https://venturebeat.com/2020/02/04/mysterious-startup-shadow...

* https://www.washingtonexaminer.com/news/buttigieg-campaign-p...

And the CEO of Shadow was a vocal Buttigieg supporter: https://twitter.com/WhereIsLawrence/status/12245720327817789...

Come on! This doesn't necessarily mean foul play but at the very least this fails a basic test for impartiality in the voting process.
>A kilogram of anything from space is orders of magnitude more expensive to acquire than a kilogram on Earth.

This is true, if you are on Earth and wish to remain there.

If you are in space already, and don't have deal with pesky things like gravity and friction, it could conceivably be way easier to chip a lump of metal off an asteroid and hurl it in the general direction of where it needs to be, than to dig it up and put it on a boat. It's a bit chicken and egg, but it's easy to imagine a scenario where off-world becomes the new Shenzen.
> That's a bet that many of us are not willing to take.

So don't take it. But don't complain when you end up losing out to people, institutions, and countries that haven't adopted this defeatist attitude.

As for Collapse: Diamond is wrong on many of his specifics (e.g. Easter Islander depopulation) but even in his own framework, collapse comes from a lack of ingenuity, a sclerotic loss of the ability for a society to solve problems.
I like the idea of making self-host web apps simple to non-technical people.

Is it a non-profit organization or an actual company? I didn't find anything about the pricing plan
AI Dungeon 2
> failing to note the differences is simply dishonest.

Like yourself, I think any reader could understand that this is meant to be a toy implementation. The author even says so in the very first paragraph and at several points in the article thereafter. How is that dishonest?
The parent was discussing max tax rate. As a software dev you would presumably be much close to the max rate than the average (at least in the US)
University of Michigan had this as an elective three or four years back, and it's served me well to understand things like piping, output redirection, and reflog. I'm glad MIT's making this public. It seems like it could fill a big gap for people who don't have the mentorship to know what they don't know.
I got the feeling that The Onion had peaked and waned already a few years ago once they no longer produced steady video content. "Today Now", the coverage of the 2012 US presidential election and "Sex House" were brilliant, high-quality productions, but if the company couldn't keep it up that augurs badly for its business.
You use Vim in your example. Get your students out of it and into something like IntelliJ IDEA or VS Code or (at a bare minimum) Eclipse.
Hterm vs. Xterm.js in 2020
Perhaps - just possibly maybe perhaps - he was suggesting its is his superior tool and technology that allowed his team to do this.

Do you think you took the most generous possible interpretation possible?
Not everyone feels all their data needs that kind of protection though. And it doesn't really apply to some services, for example, everything I do on GitHub is already public anyway.
I have 2600k under water cooling for 8 years, uptime is probably 25%.
The Doctor and the Doc
Ask HN: How is it possible making a living from YouTube?
For results like that you could even use a simple Google Forms and verify the paper trail afterwards
That's pretty interesting.
Do you get a speed-up if you use getc_unlocked() instead of getc()? And if you write your own isspace()? As far as I know, isspace() is locale sensitive.
Blame ITU.
Does it? Every time somebody pays in cash in a store here they run each bill through a machine that, I'm pretty sure, checks the authenticity of the bill.
AWS and Windows Server courses are definitely not university-level CS courses.
I watch sitcoms with my girlfriend. It just helps me to turn my brain off for a while, otherwise I'd be stuck in work-mode all day - I come home from work to work on my personal projects. While I enjoy both types of work, I need a break sometimes.

We also schedule one weekend a month where we go out for some drinks and a nice dinner, which also helps for mental health.
But multiple people have been working full time on wc for decades! At least, if you believe the article.
Our Failed Attempt at IAsyncEnumerable
Kubernetes.. almost all the companies are on it or looking at it in one way or another.
>we would still need to build a 100% sustainable spaceship

Yet for the purpose of this article, or at least discussion, people are acting like the Earth is.
It's not enough for the vote to be secure. It's not even enough for it to be provable. It needs to be understandably secure. As in: every moderately intelligent person must be able to understand how the process works, end-to-end.

While it's enough for cars, for example, to get approval from some trusted authority, we can see in this thread how that's not enough for elections: recent US elections are somewhat trustworthy, from what I can tell[0]. Yet a significant number of people don't trust them. While scepticism can be useful to keep the process honest, it comes with a price: lack of trust gives license, for example, for people to ignore election results by questioning their legitimacy. People drop out of the democratic process, feel less bound by law, and start skirting civil responsibilities, from paying taxes to jury duty. Lacking trust in the potential for "peaceful revolution" at the next election, they seek other means of representation, up to and including extremism and violence.

To add another European example: Germany has a polling place just about every block, at least in cities. In 10+ elections, I have never waited in line more than five minutes. After polling closes at 6pm, you can stick around/come back and observe the counting. The times where I did so, there were maybe ten other people also observing, and we were free to walk around and get as close as we wanted. With a polling place serving just a few hundred people, you can watch and independently count the votes of at least one party. Later that night, you can compare your count with the number on the published spreadsheet.

That's only one party's votes, in one of tens of thousands of polling places. But get a few trusted friends, or do it repeatedly over the years, and you rather rapidly get statistically significant evidence.

The only difficulty for the US would be the insane amount of individual votes, from ballot initiatives to dog catcher (not any longer, I know; but similar).

[0]: Apart from the well-known and completely legal top-down methods of election tampering, such as holding it on a workday, cutting down on polling places in specific locations to increase commute and waiting times etc.
Typically you’ll only be dealing with elections: General Election, Local Election, Mayoral Election, Regional Parliament Election, (until recently) European Parliament election.

Each of these is a different piece of paper, but on any given Election Day it’s rare (but not unheard of) to see three at once.
Given that I was reminded of myself, I concede it might be closer to the least generous one.
You are not wrong. I've had this discussion with other devs but it always ends in a crypto rant of some kind.
Thanks. Hope you find it helpful.

Regarding homebrew, I haven't thought about it yet.
It's first public release and I wanted to get some feedback about project idea.
I have recently experimented with writing dependency-free JS. I ended up using Webpack and Babel, but no frameworks or libraries, and I find it quite nice to work with. These are my tips for making the best of it: https://magnushoff.com/blog/dependency-free-javascript/
There's a big difference between "I need my family to be provided for" and "I need to be the one to provide for my family." The former is what UBI and similar efforts would resolve, and is what is healthy to desire and need.

If it is true—and I do not for a second believe it is—that the latter is an actual biological drive in men specifically, then that's something we need to work on developing strategies to mitigate and work through in a healthy way, because it's not helpful in our modern society. Y'know, much like our panic response is not helpful in our modern society, and when someone has an overdeveloped one, we treat it as a mental illness to be treated, not a "function and instinct" that needs to be catered to.

Personally, I find the idea that men have a biological imperative to be the sole reason their families survive to be nothing more than a ludicrous extension of modern toxic masculinity, on par with "of course men will rape women, once they get aroused they can't help themselves, they have a biological imperative to propagate their genes."
:elblox | Olten, Switzerland | Onsite | AWS DevOps Engineer | Valid working permission in the EU or Switzerland necessary

Our mission is to reshape how green energy is perceived, transacted and managed. The future of energy production is renewable and decentral – and so will be its exchange and coordination powered by digital technology.

Please contact jobs@elblox.com directly with a CV and cover letter. By next week head to www.elblox.com to submit directly (new website coming soon).
That seems cynical and zero sum to me.

By and large the wealthier countries aren’t fighting wars (especially among themselves); in any case they have too much to lose by doing so. The larger economics are reversing to the mean, and smaller economies are patchily catching up.

Just as wealthier people (in aggregate) have fewer kids, wealthier countries these days have less reason to right wars.

Costa Rica abolished its milirptary years ago and is more prosperous than its neighbors.

The US is an outlier but like China its military serves several purposes like a jobs program, not just defense. And its economy many not have really grown in any but a statistical sense over he past 40 years. Instead it’s just become more “lumpy” in response to optimization for imperfect measures.
You mean because with cheaper widgets, demand would increase and so monetary value of finished goods and would rise and so GDP as well?

Wouldn't GDP actually decrease if the same number of widgets are made, but now for cheaper and so through competition have less "value"?
Science doesn't abstractly drop from the heavens, fully formed. Every science has practical enablers that are required to get stuff done. Astronomers use telescopes, physicists/chemists/etc use lab equipment, Mathematicians use various notations and other tricks (and nowadays proof assistants) to make their job easier.

MS Office might not be practical for computer science (also note how the OP doesn't list that), but learning how to write your papers in latex might, and knowing how to use a shell certainly is.

E.g. if you'd like students to learn about type theory, they will need to experiment with your compiler. You cannot expect students to miraculously be proficient in this, and explicitly teaching them (and requiring it as a prerequisite course to signal that yes, it's important) can turn weeks of frustration followed by a huge dropout rate into a productive course.
I know some HR look for consistency and 'internal progression'. Relying on past history of consistent career progression suggests, to them, the vector the individual is on. Completely ex-post and opaque at the best.

Having being called a "maverick" during past moves, this doesn't gel well with me. It's lazy. But it is common. Finding a fantastic HR person is indeed an honour. Finding a fantastic one however is not commonplace, it's often box-tickers that have little understanding or desire for understanding, just a KPI.
Huh? Following the Wikipedia link to the Swedish page, it turns out "feldsalat" is called "maché" commercially in Sweden, it's really a standard thing to find in the produce corners. See [1] for instance.

[1] https://www.mathem.se/varor/machesallat/sallad-mache-70g-kla...
For every problem technology solves, 2 harder to solve problems are created.
Write me a haskell program that will init DRAM on PinePhone, setup PMIC and eMMC, load 25MiB of linux kernel and initramfs from eMMC to DRAM and will fit in hard limit of 32kB, and will do all of this in 300ms max.

Then I'll consider C destroyed.
UK is under a parliamentary system; effectively, the only vote is to select your local representative. Everything else (who wins the Government, what issues get passed, etc.) is derived from this single point.
In the last 4 years the stock markets is up over 50% and unemployment has plummeted. This has resulted in salaries and total comp going even higher for everyone, and insanely higher for engineers. Living in the US likely became more desirable in the last 4 years
Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CentOS Linux release 7.7.1908 (Core)

average time: 0.8 seconds
"I have yet to see an interesting piece of code that comes from these OO people [...] It claims that everything is an object. Even if it is true it is not very interesting"
> We don't reset clocks/dates on DST

We don't?
I understand the first two points, but I don't really get what this has to do with hobbies and sailboats in particular? As a sailor myself I guarantee that you could easily deliver many more boats if only there was demand for them. Sailing is considered by many as an elite hobby, but in reality you can buy a second-hand yacht cheaper than a decent car.
Might be a bit out there but I always thought there should be tools which help provide code snippets inside your IDE as you develop. I think Twitter Bootstrap might be a low hanging fruit for this.
>Why do higher stock prices make the middle class feel more wealthy? Is it really that common to own enough stocks to make up a significant portion of your wealth?

At least in my country the stock market is basically you're retirement fund unless you're one of the few people with a Government pension.

Most companies here offer a matching program to invest for your retirement. This is dumped into the stock market for general growth, with the idea that it's there when you retire.
os: CentOS Linux release 7.7.1908 (Core)
cpu: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz

Average time for wc on the same test file: 0.8 seconds
Getting a TEU in and out is no different from getting the truck carrying it in and out. What may be different is that a moving truck can park somewhere for the relatively short period of time needed to load or unload the truck by a moving crew. Whereas, you might not be able to park a TEU in the same spot for the week or two you might need to load or unload yourself.

(And, if a moving crew is still needed in any case, it probably mostly doesn't matter if you're using a container not. And there may be some advantages to a regular truck I'm not aware of. I assume any ocean freight is containerized in any case.)
Andreessen Horowitz's $750M bio fund: investment strategy – Business Ins
It grows well in Britain, and it's very good in shepherds pie.
Show HN: SlothTracker – cross platform time tracking desktop app
Other states couldn’t care less what the Iowa constitution says on the matter.

In practice it’s ultimately up to the DNC (this is a party process after all). In the past if a state threatened to disobey the party the party would just say the state’s delegates wouldn’t count or would count for less. Iowa’s constitution has no governance over DNC policies and practices which at the end of the day are a private matter.
I haven’t heard of much shortage of any of those things in the OECD. If anything there’s a surplus of your third category. What’s desirable about land changes due to fashion even visibly within a human lifespan.
Accessing Vue global filters inside component methods and lifecycle hooks
> the only issue is everyone's tooling

Exactly! If you've ever worked in a corporate environment, you know the fun of having to support 10-year-old versions of your favorite cutting-edge software.
In my experience, it only reliable works for singleton objects which have changes in their method bodies. Any change in the memory layout creates random null reference exceptions on each frame update.
I don't understand, thats just a notice dialog box, right? Presumably clicking Ok just dismisses it, right?
Kind of supportive of Bryan Caplan's idea of education as signaling.
How's the housing policy in Vancouver and Toronto? If new tech companies and new tech workers keep coming, are the cities willing to allow for construction of lots of new homes? Or are there signs that the housing policies would turn as anti-growth and hostile to newcomers as happened in the Bay Area?
I see and raise, to one line:

https://www.ioccc.org/2019/burton/prog.c

It is the Burton entry from The International Obfuscated C Code Contest, but seems like only handling ascii

https://www.ioccc.org/years-spoiler.html

Limits:

"Requires the C locale and ASCII character set.
Input should be less than ten million octets to avoid this problem."

https://www.ioccc.org/2019/burton/hint.html
Language-Based Security (Yale CS 528, Spring 2020)
So I just wrote the most naive version of wc I could think of in C, matching the capability of this Haskell version, and I smoked the system wc ... my code, unoptimised, was over twice as fast.

$ time wc Backups/Tera2/files.txt

1123699 2283439 161361844 Backups/Tera2/files.txt

real 0m2.010s
user 0m1.964s
sys 0m0.020s

$ time naive Backups/Tera2/files.txt

L: 1123699
W: 2283439
C: 161361844

real 0m0.864s
user 0m0.835s
sys 0m0.028s

Smoked !!

(See my comment elsewhere[0] for a more sensible comment)

[0] https://news.ycombinator.com/item?id=22234673

--------

Update: I just compiled with -O3 and got user time of 0.24 secs. This version is 8 times faster than the system wc.
I think it's valuable to start with Vim, especially for non JVM or CLR languages. Learning Vim as a first step will allow the students to easily navigate and edit code on remote servers. Then, when working on a code base like Java or C#, they can install the Vim plugin for their IDE and have the advantage of a superior editing tool to go along with the tooling the IDE provides.
"Growth" just means "Wall St gets a positive return". That's all it has ever meant.

When wealth was being more aggressively redistributed this also meant the rest of the US saw some practical benefits. Now that's no longer true, it's just a numbers game for the 1%.
That depends on the country, I suppose. If you're in Hong Kong with an inequality rating that even makes the US seem collectivist in comparison, totally. In the US? Maybe, I don't know. In Europe? I don't think so. It's moving in that direction, but it's still quite far away. But again, that depends on who is or is not upper class. I have a few friends who got "rich" (rich from my perspective, not from Bill Gates') and I consider them very much "upper class" in financial terms, even though none of them can sway elections by making a phone call or have the Mayor step down. They aren't Louis XIV, but they don't have to ever consider "can I afford doing that instead of working" ever again.
Because that makes the programs sufficiently different that the conclusion about "smashing" seems dishonest.

Apples smash Oranges, etc.
Those are serious flaws. I think it’s misleading, not insightful at all.
Annual Penguin Race: 2020 [Webcomic]
You NEED a website for your business
Or preferably all of the above and Vim, and also CodeBlocks and KEIL just in case.

Really? There's a point where you get to learn your IDE...
Having a paper edited by a better writer isn't cheating. It should be part of the education process.

Several colleges have writing tutors that basically help you edit a paper.

The difference between having someone write a paper and having someone edit is non-trivial.
So you do not personally vote on (as an example) how much money goes to schools? Your representative does that voting for you. Is that correct?
I am the Treasurer of a Charity we set up to keep our local Library open. We need two signatures on our cheques - but not to be "annoying" or "backwards". It's simple security to stop a rogue actor emptying our bank account!
Job Requirements:

- research and vet outsourced service providers

- manage multiple outsourced projects concurrently

- effectively present project outputs to stakeholders
At least more than one interested party thought about it, and documented the result. It might not be good, but it's worth evaluating to see if it's good enough.

Tldr: if you must send datagrams via pigeons, consider the rfc, then use an exfat microsd card.
Agree that more should be spent on better FAQs and better self-service search. But IVRs? No, just no. Most people start pounding the zero button and screaming "Agent" as soon as the IVR picks up, and if it doesn't immediately transfer them to a live agent they just hang up. It's a horrible customer experience.
Reminder: Cards Against Humanity is racist, discriminatory garbage, dressed up as harmless good fun. Please avoid doing business with their company, if possible.

More here: https://www.nytimes.com/2016/10/07/magazine/letter-of-compla...