skysight-inc/HackerNews huggingface dataset:
While Go has issues with lack of functionality in error handling, I think the biggest win has been treating error as value and returning error via multiple return values paradigm. It forces the programmer to be aware of the possibilities of errors when using functions and explicitly handle them.

When working in other programming languages, this is something I sorely miss and have to resort to ugly and non intuitive try catch constructs which feel like "bolt-on magic" rather than a natural part if the program.

IMO this feature makes up for most of the stuff that's lacking.

I'm not sure where you're going with the stack traces complainr. It is pretty trivial to get it in Go.
As effective, but the potato slurry caused gas, bloating and abdominal pain.

If money or scarcity isn't the issue, I think carbogels win this round. But the study does add something to the history of potatoes we all grew up on (famines and pied pipers aside). Potatoes are basically our first real "superfood" in varying ways.
> If it’s is trivial, why isn’t in the standard library

Getting a stack trace is available in the runtime/debug library.

Perhaps stack traces aren't in normal errors since a program can throw 1,000 errors per second in a perfectly functioning application and that could get expensive.

I have heard that performance is the reason but I'm not able to confirm that.

github.com/pkg/errors is fairly ubiquitous and includes stack traces.

> If everyone needs to do it, why not standardize

The only time I've needed to read the stack trace in go, is when there has been an unexpected panic. Otherwise my error messages are more than sufficient to find the root cause of the error. I only have to run my own code though, I imagine if I was debugging someone elses code the stacktrace would be invaluable.

Go has purposely tried to do a few things differently. Date format comes to mind, and lack of exceptions which I personally like.
India building world’s biggest face recognition system
Remedies for Two Data Science Anti-Patterns
Why the Novel Matters
It's entirely unclear as to what this actually is.

The blurbs read like one of those "we create solutions for complex business needs" kind of things.
Watermelon is a common trick for dealing with sugar-centric fuel causing gastro problems in ultras. I wonder if it would be effective here.
I have no inside knowledge, but my guess as an observer is they’re just plugging away at implementation behind the scenes and some descendent of that proposal will be what ships.
I believe op meant where palm trees start growing. I found this latitude in NC based on a quick search:

https://www.palmtalk.org/forum/index.php?/topic/53712-latitu...
That is great feedback. Thank you.

I took your advice and changed the About page. Thanks for your encouragement.
With respect, you honestly seem to have no idea what you're talking about. I, just like many other front-end developers and just like you, was pretty skeptical about Clojure and Clojurescript for quite a long time. But at some point, it felt like I've done enough Javascript to make me feel tired of dealing with its peculiarities. After working with Coffeescript, Typescript, LiveScript, GorillaScript, IcedCoffeescript, Babeljs, Traceur, Fay, Haste, GHCJS, after looking at Elm, Reason, and Scalajs I felt like I exhausted all possible alternatives. Finally, I got to try Clojurescript.

Honestly, I wasn't very impressed right away.

I hated the fact that Clojure hosts on JVM. I had not done enough Java at that point to know that JVM is a pretty solid piece of technology. People hate Java and sometimes don't even bother checking out JVM because they hate Java.

I did not like the fact that Clojure is a Lisp dialect. I had only shallow exposure to some emacs-lisp and wasn't even sure why people so excited about Lisp.

I did not like the fact that Clojure is a dynamically typed language. Learning some Haskell turned me into a big fan of typed programming, and naturally, I was quite skeptical. It was before Clojure.Spec, so until Spec was announced, I was still somewhat not sure if Clojure as a language is suited for large codebases.

It turned out - all my skepticism was unwarranted. I had worked with more than a few languages throughout my career - my first toy language was Basic, and my first "real" PL Turbo Pascal. Yeah, I guess I'm getting a bit old. Anyhow, Clojure turned out to be not just pure joy; it brought a lot of sense and clarity to my work. I never felt as productive with any other language before. Sometimes I try to rethink my positive thinking about Clojure and ask myself, maybe that's what Stockholm syndrome looks like? And I try to compare it with other languages and over and over again still feel like for me, right now, Clojure and Clojurescript make sense more than any other option. Sure, someday, it will stop making sense, and I will switch to something else, just like I did with many languages before. But until that day I will be using Clojure. Because for the type of work I'm doing today, it is probably the best option - it is nicely balanced between pragmatism and theoretical, idealistic language, hypothetical "silver bullet," which does not exist and never will.
Apple boss Cook meets Chinese regulator after Hong Kong app criticism
> but I'm fairly certain the original course was taught to MIT undergrads as an intro to CS and EE

This is correct: The course number was 6.001 and was a requirement in EECS in those days. I took it while SICP was still only notes in 1983, and the notes ended up as a book shortly after.
High IQ Meeting? How Jeff Bezos Decides in 5 Seconds or Less
The Netherlands and Switzerland both have functioning private insurance systems. There are also several functioning hybrid systems, like Germany and Israel.

But the primary reason you don't see more successes is the lack of attempts. It's not as if there is a long list of countries with failed free market healthcare systems, either.
The 19th-Century French Frenzy for Species Swapping
It’s almost like all these plants (and their cells) are made with electrolytes!
Do recursive CTEs count as SQL, then? Despite the name, they are practically loops.
While I know Oracle thrives off unearned reputation, (and that Ms SQL is a seriously underrated product outside of enterprises)- I refuse to believe that 3 ms-sql servers were equivalent to 20 oracle's. You must have lost something .
Ohh... This was one of the books we used when I studied computer science. Great book and it brings back memories.

State is only introduced on page 294!!
Empathy and subjective experience in programming languages
> If it is disconnected it does not require security updates. It only requires security updates when it is online (or is allowed to go online).

What about security bugs in a device's offline functionality? For example, imagine a keypad door lock. It can be configured online to add and remove unlock codes and to set schedules for automatic locking/unlocking, and then goes offline for normal operation.

Suppose someone discovers that certain invalid input sequences will unlock it regardless of what codes are set. I'd say that's a security bug that requires a security update, even though what it is fixing is functionality that does not require or use an internet connection.
can someone explain dual card kvm or pci passthrough? I'm dual booting but if there's a way to ease the pain id love to hear it
Swift 5.1: Create the Perfect UserDefaults Wrapper Using Property Wrapper
Those people are dumb... other people at the table hitting too often actually helps a card counter, because you see more cards per hand.
I would be interested if anyone has put Pop on a Pixelbook Go and used it for web development.
It seems that something like this is in play in the Hacker News search. The first results will be alike, but the rest are using some soundex-like algorithm.
Digital Transformation: 3 Secrets Your Consultant Won’t Tell You
Good UX also means having a site that doesn't 500 error when you try to read a simple static text article.
UI is one of those things where it's best if you don't even notice it.
A similar sentiment is expressed by the Principle of Least Surprise: https://en.wikipedia.org/wiki/Principle_of_least_astonishmen...
Instead of labeling things like

> ‘the Post is no longer available to be seen because it contained inaccurate information’

It should always read ‘the Post contained inaccurate information X Y and Z, here are the original post.’ Followed by the original post.

The organization who don’t believe that people have the ability to judge for themselves should receive no respect from people who believe and cherish in their own ability to make decisions.
Lol agreed
Sure it is, as has been demonstrated in many, many countries.
Design has always been a balance of usability and the emotional connection we create through our products.

I find most designers go through two phases, starting out they are very free form and fancy-graphics-for-the-sake-of-graphics approach, mostly because they can, which is where all newbies start. Then they learn about usability/functional design after reading something like "Design of Everyday Things" [1] which does a great job of selling why the functional nature of the product matters first-and-foremost as much or more as the way it looks. This is the first step in being a good and useful designer.

But people don't realize that same author Don Norman released an equally important book called "Emotional Design" [2] which digs deeper into why something like an Apple product is not only easy-to-use but is designed in such that it melds into our life cleanly, it goes beyond just being a useful tool to where it becomes part of our identity and we treat it like a piece of art.

The mature designers learn that good design goes beyond merely simplifying a 5 click process down to 2 (for example), towards crafting something that creates an emotional connection with the people buying it. For example: sometimes adding an extra 3rd step which communicates information or eases anxiety in the user is more important than the lowest amount of clicks/time to action is completed.

Yet most usability-obsessed designs would dismiss this as unnecessary distraction when the immediate 'conversion' should be 100% the goal, instead of realizing the wider emotional experience that exists in these same processes. It's easy to get someone to click a red button over a black one for psychological reasons, but it takes good design to have it naturally flow as part of the goal in the users mind at the time, which helps create a solid long-term connection with the customer.

The type of relationship where people recommend your product to others, not just solving their problem quickly and forgetting it.

This is the more abstract and intuitive part of design that reaches beyond what the more scientific approach to usability and functional design can achieve by itself. That's were things like aesthetics, colour, copywriting, and the whole experience buying the product and interacting with the company comes in. The stuff that seems like excess in a totally functional perspective. This is what turns a product from merely more useful than the rest of the market into something that is coveted and sought-out by customers when they see the brand name or designer behind it. It's the attention to the details and experience of the humans using your product, not just robots greased to the credit card page the quickest.

Most software/hardware sucks at even getting the functional parts down, which is why it gets hyped up and valued so much - which is fine, that's where the lowest hanging fruit will remain. But that doesn't mean it stops there.

1. https://www.amazon.com/Design-Everyday-Things-Revised-Expand...

2. https://www.amazon.com/Emotional-Design-Love-Everyday-Things...
I once built a search engine for web agencies that you could search through by the technologies they worked with. All I did to make it fast was index all the data for a company into a few blobs and then fuzzy search the text blobs with Lucene, which used Levenshtein distances under the hood. It was lightening fast, stupid simple and all hosted on the same VM.
The folks who miss the weird and creative days of the web are uncultured in the ways of UX !
I still have hopes that someday Vasalgel will make it to clinical trials in the US:

https://www.parsemus.org/projects/vasalgel/

It's a one-application, reversible male contraceptive. "Application" is surgical, but not an involved one.

If it ever makes it to the market, it seems like a much simpler, safer intervention, conceptually. Disclaimer: non-medical programmer, so I have no genuinely useful insights into this subject. Just a layperson making guesses.
The thing that peeves me is that at least where I live they won't let us recycle black plastic. They say it is because you can't use black plastic to make any other kind of plastic.

So... they would rather make new black plastic than simply separate the discarded black plastic into recycled material for new black plastic things. An ever increasing supply of new discarded black plastic is at hand. And we do use a lot of black plastic.

This to me, suggests there is a very strong plastic lobby, because otherwise it's just nonsensical.
Interestingly, `soundex` is bundled along with the standard functions in most commercial software. In one of my first search function I wrote, I used `soundex` to run against previous search words and suggest a known search word as 'did you mean?' to catch the spelling errors. This is around 2008-2010, and was an easy way out of what Google search was doing at that time. It was quite useful.
> We've watched websites become increasingly similar as standard web conventions have been formed and adopted. Some of these include...social media icons in the footer

I've never used these buttons, but I'm not a normal web user, so I'd love to know how much use they get. I'd bet less than one in 10,000 pageviews get a like button click.
Panics provide stacktraces, but are not the way to get stack traces. runtime/debug has the API to generate stacktraces.

github.com/pkg/errors is the ubiquitous library for seamlessly including stacktraces in errors
I believe the thread is regarding cycling.
https://web.archive.org/web/20190404100502/https://uxenginee...
That's interesting. My ex mentioned she felt a lot better very quickly after getting off the pill. There were a lot of confounding factors and as with most medical things different people's responses differ, but it's still interesting to read this support of that observation.
Wait, there are still towns with daily papers? I live in a town with 100,000 people (if I include the immediately surrounding towns, there are over half a million people within 5 miles of my house) and we haven't had a daily paper in... I can't even remember how long.
Verizon digital media is a backend CDN for over half the companies you listed. They’re betting the future of the entire company on cord cutters.
2 questions:

- Doesn't "loopless" actually mean "implicit looping"? (unless you assume infinite parallelization)

- How do you debug a chain of "loopless" functions when some corner case invalidates your assumptions?
Thats all we need. Heavy handed 'big potato' coming down on us to pressure us all to be ultra-cyclists.
I think what you're describing is squarely in the realm of content quality. They're spending large amounts of money and getting content that's largely junk, and even when it's good, it's buried under so much junk that it's hard to find. HBO spends 1/7th of what they do and has better shows. Netflix has spent billions trying to get one Game of Thrones and failed miserably.

That's what's killing subscriber growth. Lack of quality content. HBO has about the same number of subscribers, at a 50% higher subscription cost. The revenue is there to be had for someone with good enough content.

Despite spending $10b a year, Netflix's biggest shows are still ones it licenses (Friends, The Office, etc.) and they're losing them one by one. They've shown that for whatever reason, quality content isn't a problem you can solve by spending alone.
> I find most designers go through two phases, first they are very free form and fancy-graphics-for-the-sake-of-graphics approach, mostly because they can, which is where all newbies start. Then they learn...why the functional nature of the product matters as much as the way it looks

I think design norms new media are the same. Why <blink>? Because we can.
Analiti Web/HTTP Performance Check
And I have an implementation in Lua/LPEG: https://github.com/spc476/LPeg-Parsers/blob/master/soundex.l...
After using this, metaphone and other interesting similarity metrics for data cleaning in OpenRefine, I was looking for a python library that had these sorts of similarity metrics.

I found this quite interesting (and comprehensive) project that includes regular string distance (fuzzy search) methods, fingerprinting methods and a huge number of phonetic metrics including 7 different soundex methods: https://github.com/chrislit/abydos

A few others worth mentioning:

Scala: https://github.com/rockymadden/stringmetric

Java/Scala: https://github.com/vickumar1981/stringdistance

Postgres: https://github.com/eulerto/pg_similarity

R: https://github.com/markvanderloo/stringdist

Clojure: https://github.com/Yomguithereal/clj-fuzzy
A cartoon intro to DNS over HTTPS (2018)
Be careful with wrapping potatoes tightly in aluminum foil. Metal foil is completely impermeable to air. If you’re not careful, anaerobic bacteria such as C. botulinum can grow on foil-wrapped potatoes and cause botulism [1]. It’s always a good idea to either puncture the foil or keep the foil wrapped loosely unless the potatoes are still hot (above 140F).

[1] https://www.cdc.gov/botulism/prevention.html
> Clojure developers take a lot of time to think and discuss what seems to be irrelevant (to the business) details of software engineering.

I beg to differ. I don't know how, maybe due to my experience and knowledge, but working with Clojure developers, discussions usually levitate towards the business problems and not the language ecosystem and tooling. Language just gets out of the way, it does not impede, does not slow you down, the distraction is minimal.

In other languages there are always talks about the syntax, about styling, about dependency conflict resolutions, subtle bugs that may or may not happen. In OOP languages - class hierarchies and patterns, interfaces, etc. There is always at least one smart-ass "rebel" in the team who writes code, adding some "nifty" tricks and esoteric, gimmicky features of the language no one else in the team knows about.

Of course, like any other language Clojure has "idioms" and like any other language it is possible to write "cryptic" code, but usually newbies learn those idioms quickly enough. Just like with irregular verbs in English - although they seem to be strange at first, you learn to use them because they are used very often.
Macros are allowed in clojurescript. It's just that they cannot be defined in the same compilation unit where they are used. Yes it's a pain, but not nearly as your phrasing makes it sound like.

That said, I'd also love a native webassembly target.
It's been one of the "best" for years.
A victim of HN's "hug of death" I presume. For the author's next post, perhaps he can talk about good DevOps or hosting on Amazon S3 or Github pages etc. instead of a $5/mo VPS that will buckle under any sort of load. :)

EDIT: Seems to be back up again now.
Making Weird Games for Weird People
> Windows command-line interface with syntax that is terse and easy to understand.

Funny. The verbosity of Powershell was definitely a turn-off before I started using it... but it wasn't long before I came to see it as one of Powershell's greatest strengths. Verb-Noun is great for discoverability and a script that avoids aliases should be understandable by someone who doesn't know the first thing about Powershell, what the script does, or even scripting in general.

Terseness is an anti-feature. K&R got it wrong.
Anything lacking in-flight guidance isn't going to hit the target at this range. Single use solid propellant engines are't compicated or expensive, either. The whole project is just Wunderwaffe redux.
I'd like to see pretty much everything that uses electronics inlcude, unless its form factor is such that it is not practical, a USB-C port. I'd like to see this USB-C port used for two things. It's OK if it does more than these two things.

I'm not just talking about IoT devices. I want this for my washing machine, my electric toothbrush, my vacuum cleaner...everything.

1. If you insert a formatted thumb drive that contains a directory with some magic, standardized name (e.g., "DEVICE_INFO"), the device creates a directory under that named after the device, and in that directory writes out a PDF of its manual, install guide, warranty info, and/or whatever other documentation comes with the device. It also writes a text file containing model number, serial number, manufacture date, version information, and stuff like that.

2. If you insert a formatted thumb drive that contains a directory with another magic, standardized name (e.g., "FIRMWARE_UPDATES"), which contains a sub-directory names after the device, the device looks in there for a firmware update file, and if it finds one that is applicable it applies it.
They also have the "Connect and Cruise" option that includes a transmission and a warranty. The E-Rod versions have a longer warranty and are CARB approved.

https://www.chevrolet.com/performance/connect-cruise-powertr...

My method was to get a low mileage drive train from a recent Camaro.
gcp services are always great on marketing booklets but tend to have less than stellar reliability and you gotta read the fine print. A perfect example is ilb only supports max 250 backends and is basically unusable for mutli-regional setups.
Windows blows regardless. Chill, guy.
every year they look at how many of each fish species are migrating back and determine if any or how many of each fish are allowed to be fished for. often in the Seattle area there will not be enough of most or all species to allow for fishing that year.
Fully working Posix-like x86-64 OS in Crystal
Long story short:

"If they were truly interested in increasing the recycling rate, a bottle bill or container deposit law... would be well worth looking at. People are far more likely to return their bottles if there’s a financial incentive. States with bottle bills recycle about 60 percent of their bottles and cans, as opposed to 24 percent in other states. And states that have bottle bills also have an average of 40 percent less beverage container litter on their coasts, according to a 2018 study [0] "

[0]https://www.sciencedirect.com/science/article/pii/S0308597X1...

Personally I'd like to see a -hefty- 'deposit' levied directly on the manufacturers. If they want to use the bottles, they must assume -complete- responsibility for the outcome. Else the 'deposits' are used to -solve the problem-. Why should cities be stuck with the bill?

To help them get the ball rolling, let's start with 25 cents on every bottle they ship their (expensive sugar-water) product in. Paid to whoever collects and delivers them to their recycle bins. After 5 years, that goes to 50 cents. At the point, you'll see no empties in the garbage.
I can relate. After many years of obsessing over UI designs and document formats, I've recently begun to yearn the simplicity of the early web: simple, default font, black-on-white interfaces with textual hyperlinks. E.g. https://www.freesoft.org/CIE/Topics/75.htm, or perhaps even the minimalist, monospaced formats found in RFC's: https://tools.ietf.org/html/rfc8484.

There's a certain relief that comes from being able to focus entirely on content/task because the interface remains stubbornly minimalist.