skysight-inc/HackerNews huggingface dataset:
Libra Formalizes Accounting for Bitcoin with Wallet and Exchange Integrations
I've been a happy Antigen (https://github.com/zsh-users/antigen) user. It's very fast, regularly updated, and can use OMZ as a plug for when there are features you simply must have.

OMZ was my first adventure into shell config management, but it slowed to the point that my Terminal.app window would take 10-15 seconds to give me a prompt. That became incredibly frustrating.
You may have also been hitting this: http://en.wikipedia.org/wiki/Bufferbloat

I wouldn't put a lot of faith into what front-line tech support says. They'll often outright lie to you to get you off the phone.
the part about ubiquitous insider trading is accurate. that's all I can say, after spending a big chunk of my life in finance.
> Goes without saying, but bash-completion. Fish's completion is mostly history-based, which is great for repeatedly running the same command, but terrible for discoverability

Fish has both kinds of completion. You can hit tab to get a list of possible completions (command-list based) if there is more than one, if there is only one possible command it will tab-complete. You can also customize this list.
Just switched to prezto yesterday, I doubt I'll be looking back.
Industrial Design vs. Mechanical Engineering
QA is interesting, sure. I'm more interested in the Q part, and you don't get that just by having a role or department checking work before it hits the customer.

This article does a great job of describing the minimum level of quality allowable to scrape past certain stages of growth.

The question you should be asking is: what level of quality, built in from the beginning, intentionally and with full support, will create a product so valuable to the customer as to generate a wild feedback loop of success—not just scraping by at a minimum acceptable level. What level of quality will generate returns, not just reduce your debt to an acceptable level? And more importantly, how do you achieve it?

Quality is your value to the customer. If you think of it systemically, you won't need a QA. As Dr. Deming said, "Inspection does not improve the quality, nor guarantee quality. Inspection is too late. The quality, good or bad, is already in the product." And Harold F. Dodge: "You can not inspect quality into a product." Deming advocated instead for a holistic understanding of the factors driving quality, including management and leadership, the processes used, and continuous improvement of systems.

This is the type of discussion I always see lacking from discussions of software QA. On the manufacturing timeline, it's like we're in the 1920's. It's all very realistic, but we could be so much further along.
https://github.com/aras-p/glsl-optimizer
Well, "ridiculous_fish", the guy who sort of revived the fish shell is an engineer on the AppKit team at Apple: http://ridiculousfish.com

I remember installing and using fish 4 or 5 years ago; it was not a great experience -- but after he "took over", I switched and couldn't be happier with fish.
Apple and Microsoft may discontinue support/sales but the hardware/software they sold you continues to function. That is inherently not true of "cloud" services.
It does, but bash-completion has a long list of supported commands. Not just git, but also modprobe, pygmentize, youtube-dl, even grub…
Bad developers. For example, I used Arch Linux for a number of years, where `/bin/sh` is a symlink to bash. Switching that to point to `dash` broke a number of programs both in the official repositories and the AUR. A lot of shell scripters can't spot a bashism, and just as many don't know that other shell syntax even exists.
What Is Trunk Based Development?
If, in 10 years, I'm unable to play Deus Ex HR but all of these bloated, insecure, backdoored, "social" web sites are still supported, I might just quit this industry for good.
> Don't be cute and wrap it in an option

Unless of course that's the right semantics. Often methods use nullable references as a poor man's Option.
In my line of accessibility work, I find QA fills the role of testing to educate. If the engineers don't have the experience, looping issues into the backlog, gives them the experience to train up the skill set. They might have had verified experience before hiring, but getting team collaboration helps mature new people or smooth out the rough skill sets of a dev who might be awesome in one particular area but meh in others.

I suspect this could be the case for any subject matter expert where the skill set is viewed as fringe or not expecting the team will be required to have that exact knowledge before hire.
Ask HN: Side project for extra income question?
This is not a new idea, will never be a venture funded startup, and is unlikely to change the direction of my life - it's quite simple & straightforward and that's the beauty in it: create a better trail mix and sell it online.

There are a number of uncertainties, mainly will the market accept my 'better' trail mix and if not manufactured at scale can I actually make money - those are to be determined though.

My question to the community is: What is the cheapest way to have an MVP for a consumer packaged good like trail mix? Say 500 12oz units. I'm unable (I believe) to package in my garage due to food quality and control restrictions - so are there companies that would accept the empty bags with my design + raw ingredients and package the trail mix for me to then sell?

Any advice/help would be appreciated. Thanks!
As I mentioned in another comment, there are cases (like SIGWINCH) where the only interface the kernel gives you for general-purpose IPC is signals. In any case, if you restrict yourself to using signals for urgent respond-immediately events, then signalfd is still useless, since you want to handle those synchronously. :)

(That said, I would definitely agree that the kernel is misusing signals -- SIGWINCH should just be some form of metadata on the terminal fd, not a process-wide signal.)
> Only problem is it's not POSIX so there is some weirdness in command substitution, logical operators and stuff. So you still script in sh.

Yeah some wild-card matching stuff doesn't work, also for example expanding `pkg-config --cflags gobject-2.0` as one would in bash requires calling eval gcc.

On the other-hand it's not like Bash doesn't have weird gotcha's -- for example does anyone remember which of these is a valid conditional?

string='Foo Bar';
if [[ *"Foo"* == $string ]]
if [[ $string == *"Foo"* ]]
>unlike Deus Ex 1 were it is possible to play through without killing a single person!

As far as I remember you had to kill Anna Navarre, no?
/bin/sh on debian is dash, but the default interactive shell is still bash (sorry for nitpicking).
Pachyderm v0.7 Replication and Automatic Failover
Here's the thing. You're replying to

"...re-drawing when resizing the Slack chat window can take up to a second."

0) I agree that working with the DOM can get very complicated, and that layout can also be a hard problem[0]. Keep this in mind while you read the rest of my response.

1) When a browser goes to render a page, it does so from assets that have already been loaded and validated. All the fiddling with goofy image formats and malformed inputs is over and done with. All of those resources should have been processed by the browser into a format that's specifically made for the browser. So, when you resize the browser window, all[1] you're asking the browser to do is to reflow the page using the resources that some other code has specially prepared for rendering.

2) I bet you ten dollars that -if it had been compiled for a 64-bit machine- Deus Ex: HR would run on a machine manufactured in August, 2021. (Indeed, look at how well Starcraft 1 runs on machines built in 2008 and later. :) ) (Oh, BTW. Deus Ex: HR runs on the XBox 360; a machine that was released in November 2005... just about ten years ago. :) )

3) Have you used Mobile Chrome or Mobile Firefox on a Nexus S (a phone released in December 2010)? I have and -when I have no other choice- do. They are slow as balls for web pages of any appreciable complexity. Hell, for rather complicated pages, they consistently get reaped by the Android OOM killer.

4) I assume that by "That game is never going to have to scale .. down ... to a ... shell script" you mean something like "The web is browsable through lynx. You will never have a text-mode version of Deus Ex: HR.". If the game dev was willing to let folks make Deus Ex: HR look like a game from the early 2000's (and run on machines from the mid-to-late 2000's), they could have inserted a checkbox that switched to pre-computed lighting and turned off (or greatly reduced the complexity of) all shaders. However, I bet you fifty dollars that a wide section of The Web is completely unusable on lynx (or even links, for that matter).

Edit: Know that I've built soft-realtime networked GUI software with both OpenGL (using FLTK as the base) and a modern browser (with JQuery as the base). :)

[0] However, TeX has been doing complicated page layout since the late 1970's. :)

[1] Yes, I'm quite aware that browsers can do all sorts of things -including loading and processing new resources- when the viewport size changes. If you've written a web page that does so much work on viewport size change that redraw takes 1000ms or more, guess what? You've written a slow web page. :) If you build a game that requires 1000ms to render a single frame, guess what? You've built a slow game. :)
Papers: A Git annex repository of academic papers
Debian uses dash as /bin/sh, but newly-created accounts default to /bin/bash as their login shell.
What you describe is QA. Testing is technically QC: Quality Control. It's only one facet of QA, though the terms are usually conflated. Most companies only have a QC department.
Will We Ever Give Up on Finding MH370?
Yes agreed, such measurements are outside the scope. It doesn't tell: "I spent 1h developing this feature" but rather: "I spend 1h writing the code that embodies this feature". It is data for the developer's side, to give him/her the insight he needs on code creation, and is not - in its current form - usable for the project manager.
500 Startups “Frozen” Spoof: LET IT GROW – A Startup Sing-A-Long
I used HMA ~2 years ago. The speeds were throttled, it's entirely possible they saved a lot of money that way. Also, xxx,xxx of users and 15,000/annum? The service was $10/month back then, I'd imagine the number should be way higher for hundreds of thousands of users...
You can add/write your own completions for fish http://fishshell.com/docs/current/index.html#completion
Prohibition/The War on Drugs is stupid. All it does is put money into the hands of criminals and costs the state money by locking people up who should be leading normal lives and paying taxes.
Cool! make sure to leave an issue or comment if you experience something unexpected!
Wow, we're being really incredibly anal on this board today, aren't we?

"Good" literature is obviously a matter of taste, ie: rather than a matter of what internet commenters or the New Republic like to say.
I'd imagine MCServer to be extremely valuable to server hosts, no? As far as I know, the official server uses a ton of resources
The Future of Education: Genetic Enhancement and Metahumanities [pdf]
For a cheap laugh, troll people.

FTFY.
I'm 19 and I've used MorphOS for almost a year, sometimes even as main OS (it does its job pretty well).

In short, the OS is very good, but the devteam isn't - they're just old Amiga scene chaps with closed minds and some sort of schizophrenia. They hate FLOSS, they can do a huge flamewar if you say 'Linux' or 'Unix', they don't care about users which they doesn't met.

On a technical side, it's just a Quark kernel (L4 fork) with ABox "VM" which is compatible with m68k binaries via JIT and AmigaOS 3.x api via compatible MorphOS API.

Overall pros:
* Very fast OS
* High responsibility of UI, low latency on FS operations
* Backwards compatibility with AmigaOS 3.x software which doesn't call Amiga's hardware directly
* AmigaOS4 compatibility can be achieved using external library, but it's not so good
* Lots of native software written especially for MorphOS
* nix software can be ported using MorphOS SDK and LibNIX, but it's not seem good by community and developers.
Port of SDL library, which can help you with porting SDL and OpenGL games
* Own browser (Odyssey) with WebKit engine, but sometimes you need to prepare own ca-certs, cause maintainer doesn't packages they all

Cons:
* No memory protection - when something crashed, your system likely will be unusable
* Tasks cannot be killed easily (see above)
* Limitation to 1,5 GB of RAM "because compatilibity" (xD)
* Uses own properitary technologies, APIs, GUI toolkit
* Developers and community doesn't like open source technologies
* Paid license:
* 111 EUR for PowerBook G4, iBook G4, PowerMac G5
* 75 EUR for PowerMac G4, eMac G4, Pegasos I or II
* 49 EUR for Sam460[e[xp]]
* 45 EUR for Efika 5200B
License is bound to hardware which needs to be registered by internet connection, you'll receive a keyfile which is a system driver for removing time limitations
* Lots of poers are outdaed
* You need to grab an external E-UAE emulator to use a software which needs to acces Amiga hardware, it was received a JIT some month ago.
* System doesn't support NVIDIA cards and won't be
* SDK uses GCC 2.95 (!!!) and system is compiled using it, but GCC 4.5 is an option
* Part of API and "LibNIX" is an wrapped OpenBSD libc
* I've a some suspicion about violating GPL license.
* I've ported a Vim some time ago, but they rejected to add it for MorphOS-Files (WWW-based package manager), they use own Scintilla-based editor
* Users and developers doesn't care about security
* You'll not found multiuser capabilities, or any servers.

But decision is yours, I've pointed only some causes, but I feel that I can write a book about my experiences with this OS.

If you have any questions, leave a comment here.
Port forwarding would also be a handy feature, albeit a major (impossible?) technical challenge to deal with the varying support for interfaces to set it up. Or perhaps an ngrok-style tunnelling feature (which would obviously be more expensive to run).
For what reason? They connect the client's PC to an exit node... they probably also use a different domain name for authentication :-)
Modern document management for your startup
Fish is definitely good, but not great enough to justify a switch from Bash. I maintain tens of thousands of lines of Bash scripts and was considering switching to Fish once, but decided it wasn't worth it.

When you compare the *nix shells to PowerShell, they feel prehistoric. We all use grep, sed, awk, and the likes, but don't you get tired of having to deal with unstructured data and gross limitations of the shell like basic data structures. Yes, the purpose of the shell is to be quick and dirty, but it doesn't take that much to add some programming sanity and some standards for structured data! There's a port of PowerShell to Mono, Pash [0], but it's so heavy in terms of requirements and has somewhat unclear future. Of course, there's also Xonsh [1] and Xiki [2], but they are pretty new.

[0] https://pash-project.github.io/

[1] http://xonsh.org/

[2] http://xiki.org/

P.S. One of my favorite Fish feature is Event Handling [3].

[3] http://fishshell.com/docs/current/#event
Ask HN: How to run a rails web crawler on aws
Could someone be nice enough to point me in the right direction? I've got my web crawler working locally but now I want to put it onto an ec2 instance; however, I have no idea where to start.

Thanks!
"McDonald's Big Mac, but we are out of pickles."

"Endless Buffet, king crab legs limited to 5lbs. a guest"

"Freedom, except you can't do that thing."

I'm perfectly free to, and I would, harass a rape victim for any aggression against me that would compel me to harass any other person.
I love oh-my-zsh but am confused why this is news... it's been around for years, almost everyone I know in OSX either uses it or has used it at some point in the past. I do love it though!
Unit testing is easier to do with the developer resources on hand since they probably already know how to write them, probably necessary for quick pace in dev anyway, and gives you a large portion of the risk mitigation testing in general will give you. You also check in unit tests with the code if you do it right, whereas integration or acceptance tests require additional passes once all the code covered is checked in, so it's more painful to the schedule.

Integration tests also require more development to allow integration while still being hermetic (isolating out any external factors, since you might have to architect to share injected dependencies between modules) -or- more maintenance if you don't make them hermetic and they have to track external dependencies. They require more time to triage failures as well if they're not hermetic, as external failure is a possibility; you can't just trust the test results. And final acceptance tests should never be hermetic--they should accept based on realistic environments--so they're almost always a little high-maintenance.

So while the value is there, the cost is much higher and it'd be more of a distraction from primary development. Cost and benefit have to be considered.

So in this model the integration/acceptance part is handled by dogfooding, which is the lowest cost way to get a decent chunk of it, even though it only walks happy-path for the most part.

But that's why I said I'd add exploratory to B2C seed, is to get back some of the integration testing on non-happy paths and obscure paths.

Edit: find docs on the test pyramid and consider that the shrinking number of tests as you go up also implies somewhat lower technical debt as you skip going up. The shrinkage is a function of the cost vs. benefit--you're just taking it to its logical conclusion of omission.
Yes I came here to say this. I think it's primarily a terminology problem, but integration testing should be in place well before unit testing.

I would go so far as to say that genuine unit testing is never useful in web application development, unless by coincidence you write a test that happens to fulfil th requirements of a unit test (and before everyone says how many unit tests they've written, just because your framework of choice has a class called UnitTest that you use when writing tests, doesn't mean you're writing unit tests, and yes some frameworks make it easier to get closer to the idealised notions of a true unit test than others).
I'm actually fine without getting paid at all. I would love to expand my knowledge and experience to areas that I have not tackled yet. Even in regards to best practices, I'd love to get hands on experience from how they manage CI, testing, etc...
HN's policy is against "gratuitous negativity".

It's OK to be critical of an inefficient idea.
Unoriginal? When I started using HMA a couple of years ago, there were practically no real competitors!

They had the highest number of VPN nodes all over the world, a dozen of IPs per country compared to 1-2 for other services.

The app was also easy to use and worked without problems, had no disconnects AND disabled your internet connection IF you did get disconnected for whatever reason, not exposing your real IP.

That may have been lip service though, because even their ToS stated "we'll turn your info over to the authorities at the first request, no offense" :-) but technically, it worked well..
I think those of us who would do that are already using public transit (I include myself in this group, by the way). It might get some people who say "well, I would take the bus if it ran where I live/work", but anyone who lives and works on a bus route would already be using public transit if most people felt this way, and public transit will continue to be cheaper for quite some time.
Well done - I'm sure this approach is helpful to many people who, like myself, learn best by using the process you summarised, so here's another compliment to the list :)
The Lime Equation
> Why would Oakley, Ray Ban, or Philippe Starck sell the design to their glasses for $3.49 when they can sell you the replacement pieces for three times more [1], or better yet sell you a replacement pair of glasses?

Because you want a poorly finished piece that takes multiple tries to print right because the extruder jams, piece warps, or a misaligned head crashes into the object turning everything into a goopy mess?

The occasional time my Replicator 1 works on the first try, it's magical. Most of the time it's an exercise in frustration.
That's a different problem, though. /bin/sh must point to a sh-compatible shell. fish is not a sh-compatible shell. Therefore, any script using /bin/sh will never attempt to run as fish (as /bin/sh will never point to fish).

The reason I'm having a hard time imagining how a scripting system that relies on bash would fail with fish is because I can't imagine how one would actually write a script that is executed with the user's login shell. There's no #! line that would do that by accident.
Silon – Adders and Logic Gates in Pure CSS
> The CEO can make decisions all day long, without miners they will not lead to a single Dollar of revenue.

Yeah, and the miners can do their job in an unprofitable way until the CEO tells them to do it differently. It's a two-way street.

This idea that the executives are dependent on the workers but not vice versa doesn't reflect reality.
Someone's gotta explain to me how and why oh-my-zsh is slow. I've never once experienced it being slow for me. In fact, I switched to prezto and it was unbelievably slow. I switched back to oh-my-zsh. Maybe I'm just not using it right...
Been using oh-my-zsh for years, haven't had a single problem with it. Not sure what's going on where people are having so many problems with it being slow.
Show HN: FilmHunt – Browse top rated movies by genre and year
What I've mostly noticed with it being slow is anything that might accidentally trigger it trying to ssh to another machine to get an autocomplete list. Since it won't maintain that connection it can cause it to happen multiple times while you're trying to tab complete different pieces. I imagine other similar problems with slow file systems or ones with a lot of latency (nfs?) might cause problems. I haven't noticed it elsewhere so maybe there's something I'm just not hitting.
A modern and properly implemented database engine should be bottlenecked on network saturation for these types of workloads even if backed by disk storage, never mind in-memory. These workloads are trivially distributable, so scale-out is expected unless you are doing something really wrong.

In that sense, similar "look how fast my simple lookups are" benchmarks published by other database vendors are really a function of their hardware budget for the benchmark assuming the implementation is competent. Queries with complex constraints or joins would be a more interesting indication of implementation scalability and performance.
Hehheh the movie looks like post apocalyptic wacky races
Show HN: Rewinding NES emulator that also reverses sound
There isn't consensus that Lisp, Scheme, ML, and O'Caml are functional. Period. There certainly is consensus everywhere that they aren't purely functional. Purely functional doesn't require nor implies lazy, but the two tends to go together for good reasons.

"Functional programming is a style that can be used in any language"

No, I'm sorry, it's not. [Purely] Functional programming provides guarantees and properties that are only valid if the necessary discipline is enforced. Your list of languages are merely procedural languages with functions.
Ask HN: Time dilation and streaming data
Let's say a spacecraft is traveling away from earth @ close to the speed of light. There is computer on the spacecraft, that is streaming data from earth. How would this data feed look as the space craft travels further and further away from earth?

If this was a video stream(that did not buffer), how would the video play? Would the video start playing faster and faster?