# solve

Published articles for solve.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Engineers Should Take Responsibility for Bugs in AI-Generated Code

DevFeed: [Engineers Should Take Responsibility for Bugs in AI-Generated Code](<https://devfeed.tech/articles/ai-didn-t-write-that-bug-33438.md>)

Original publisher: [Read original article](<https://timkellogg.me/blog/2024/09/24/ownership>)

Published: 2024-09-24T00:00:00Z

Content type: opinion

Language: en

Sources: [Tim Kellogg](<https://devfeed.tech/sources/tim-kellogg.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Git](<https://devfeed.tech/topics/git.md>), [coding](<https://devfeed.tech/topics/coding.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [bug](<https://devfeed.tech/tags/bug.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [commit](<https://devfeed.tech/tags/commit.md>), [git](<https://devfeed.tech/tags/git.md>), [junior](<https://devfeed.tech/tags/junior.md>), [management](<https://devfeed.tech/tags/management.md>), [manager](<https://devfeed.tech/tags/manager.md>), [solve](<https://devfeed.tech/tags/solve.md>), [support](<https://devfeed.tech/tags/support.md>), [team](<https://devfeed.tech/tags/team.md>), [testing](<https://devfeed.tech/tags/testing.md>), [trust](<https://devfeed.tech/tags/trust.md>), [value](<https://devfeed.tech/tags/value.md>)

### AI overview

This opinion article argues that engineers remain accountable for bugs in code generated with AI. It says attributing defects to AI reduces an engineer's perceived value, and that responsible use requires testing, judgment, and ownership.

### Source excerpt

AI didn't write that bug. If you're name is on the commit in Git, you wrote the bug.

## Exploiting a custom tetris game in CSAW Quals 2020

DevFeed: [Exploiting a custom tetris game in CSAW Quals 2020](<https://devfeed.tech/articles/exploiting-a-custom-tetris-game-in-csaw-quals-2020-39679.md>)

Original publisher: [Read original article](<https://mahaloz.re/2020/09/13/csaw-quals-2020-blox.html>)

Published: 2020-09-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [mahaloz.re](<https://devfeed.tech/sources/mahaloz-re.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [arcade](<https://devfeed.tech/topics/arcade.md>), [Ghidra](<https://devfeed.tech/topics/ghidra.md>), [Reconnaissance](<https://devfeed.tech/topics/recon.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [ctf](<https://devfeed.tech/tags/ctf.md>), [game](<https://devfeed.tech/tags/game.md>), [ghidra](<https://devfeed.tech/tags/ghidra.md>), [pwn](<https://devfeed.tech/tags/pwn.md>), [reversing](<https://devfeed.tech/tags/reversing.md>), [solve](<https://devfeed.tech/tags/solve.md>), [writeup](<https://devfeed.tech/tags/writeup.md>)

### AI overview

This writeup explains how a custom Tetris game in CSAW Quals 2020 was analyzed and exploited. The challenge involved discovering cheat-piece placements, obtaining the binary, reverse-engineering its checks, and using an out-of-bounds write to obtain a partial write primitive and ultimately the flag.

### Source excerpt

Pwning a custom Tetris game through an out-of-bounds write to memory through block manipulation and changes to the `.text` segment.

## Using VueJS + GraphQL to make Practical Magic

DevFeed: [Using VueJS + GraphQL to make Practical Magic](<https://devfeed.tech/articles/using-vuejs-graphql-to-make-practical-magic-31320.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/using-vuejs-graphql-to-make-practical-magic>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2018-08-27T22:29:00Z

Content type: tutorial

Language: en

Sources: [nystudio107 | Articles on modern web development.](<https://devfeed.tech/sources/nystudio107-articles-on-modern-web-development.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [vuejs](<https://devfeed.tech/topics/vuejs.md>), [Content Management System](<https://devfeed.tech/topics/cms.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [axios](<https://devfeed.tech/topics/axios.md>), [Bootstrap](<https://devfeed.tech/topics/bootstrap.md>), [Jamstack](<https://devfeed.tech/topics/jamstack.md>)

Tags: [auto-complete](<https://devfeed.tech/tags/auto-complete.md>), [axios](<https://devfeed.tech/tags/axios.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [craft](<https://devfeed.tech/tags/craft.md>), [everyday](<https://devfeed.tech/tags/everyday.md>), [form](<https://devfeed.tech/tags/form.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [headless](<https://devfeed.tech/tags/headless.md>), [insights](<https://devfeed.tech/tags/insights.md>), [jamstack](<https://devfeed.tech/tags/jamstack.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [like](<https://devfeed.tech/tags/like.md>), [magic](<https://devfeed.tech/tags/magic.md>), [practical](<https://devfeed.tech/tags/practical.md>), [problems](<https://devfeed.tech/tags/problems.md>), [saving](<https://devfeed.tech/tags/saving.md>), [searching](<https://devfeed.tech/tags/searching.md>), [solve](<https://devfeed.tech/tags/solve.md>), [submission](<https://devfeed.tech/tags/submission.md>), [using](<https://devfeed.tech/tags/using.md>), [vuejs](<https://devfeed.tech/tags/vuejs.md>)

### AI overview

A practical tutorial showing how to use VueJS and GraphQL with a headless Craft CMS backend to implement auto-complete search and save contact-form submissions. It introduces the frontend and backend tooling used in the examples, including Axios, Bootstrap 4, Craft CMS, and CraftQL.

### Source excerpt

Make some practical magic with VueJS + GraphQL to solve everyday problems like auto-complete searching and form submission saving with a headless Craft CMS server

## Fix for Chrome not rendering 1px borders

DevFeed: [Fix for Chrome not rendering 1px borders](<https://devfeed.tech/articles/fix-for-chrome-not-rendering-1px-borders-37269.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/fix-for-chrome-not-rendering-borders/>)

Author: Stanko

Published: 2018-07-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [Chrome](<https://devfeed.tech/topics/chrome.md>), [browsers](<https://devfeed.tech/topics/browsers.md>), [render](<https://devfeed.tech/topics/render.md>), [screen](<https://devfeed.tech/topics/screen.md>)

Tags: [browsers](<https://devfeed.tech/tags/browsers.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [issue](<https://devfeed.tech/tags/issue.md>), [render](<https://devfeed.tech/tags/render.md>), [screen](<https://devfeed.tech/tags/screen.md>), [solve](<https://devfeed.tech/tags/solve.md>)

### AI overview

A short troubleshooting note about Chrome sometimes failing to render 1px borders at certain screen sizes. It suggests changing the border width from 1px to thin as a workaround, while noting that the author does not know why it works.

### Source excerpt

This happened to me couple of times - borders would just randomly disappear in Chrome. All other browsers render them normally, but they just vanish in Chrome, on some screen sizes. Resizing helps sometimes, but I never was able to catch real pattern for reproducing. If this ever happens to you, there is a (hacky) solution. Change border width from 1px to thin. border: 1px solid #000; /* change it to: */ border: thin solid #000; Although I don't like it, as it is a hacky workaround and I don't really understand why it works, it does solve the issue. It seems that I'm not the only one having this problem.

## NP-hard does not mean hard

DevFeed: [NP-hard does not mean hard](<https://devfeed.tech/articles/np-hard-does-not-mean-hard-40418.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2017/12/29/np-hard-does-not-mean-hard/>)

Published: 2017-12-29T13:30:23Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [completeness](<https://devfeed.tech/tags/completeness.md>), [complexity-theory](<https://devfeed.tech/tags/complexity-theory.md>), [logic](<https://devfeed.tech/tags/logic.md>), [mario](<https://devfeed.tech/tags/mario.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [np-completeness](<https://devfeed.tech/tags/np-completeness.md>), [np-hard](<https://devfeed.tech/tags/np-hard.md>), [problems](<https://devfeed.tech/tags/problems.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [regular-languages](<https://devfeed.tech/tags/regular-languages.md>), [solve](<https://devfeed.tech/tags/solve.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

This article explains that NP-hardness is a worst-case mathematical property, not a claim that a problem is always difficult for humans or algorithms. Using Super Mario as an example, it shows how game levels can encode boolean logic and why solving the game in full generality would encompass hard computational problems, while ordinary real-world levels may still be solvable efficiently.

### Source excerpt

When NP-hardness pops up on the internet, say because some silly blogger wants to write about video games, it's often tempting to conclude that the problem being proved NP-hard is actually very hard! "Scientists proved Super Mario is NP-hard? I always knew there was a reason I wasn't very good at it!" Sorry, these two are unrelated. NP-hardness means hard in a narrow sense this post should hopefully make clear. After that, we'll explore what "hard" means in a mathematical sense that you can apply beyond NP-hardness to inform your work as a programmer.

## How Ada Lovelace solved problems

DevFeed: [How Ada Lovelace solved problems](<https://devfeed.tech/articles/how-ada-lovelace-solved-problems-35306.md>)

Original publisher: [Read original article](<https://darkcoding.net/ideas/how-ada-lovelace-solved-problems/>)

Author: Graham King

Published: 2015-12-11T05:02:00Z

Content type: article

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [Ada](<https://devfeed.tech/topics/ada.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>)

Tags: [ideas](<https://devfeed.tech/tags/ideas.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [problems](<https://devfeed.tech/tags/problems.md>), [program](<https://devfeed.tech/tags/program.md>), [puzzle](<https://devfeed.tech/tags/puzzle.md>), [solve](<https://devfeed.tech/tags/solve.md>)

### AI overview

This article recounts how Ada Lovelace worked on a mathematics problem related to the Analytical Engine and documented what is described as the first known computer program for calculating Bernoulli numbers. When she became stuck, she went horseback riding and expected the problem to become clearer later.

### Source excerpt

Ada Lovelace: Debugging by horseback since 1843.

## Schema.org Product Microdata and Breadcrumbs

DevFeed: [Schema.org Product Microdata and Breadcrumbs](<https://devfeed.tech/articles/schema-org-product-microdata-and-breadcrumbs-29141.md>)

Original publisher: [Read original article](<http://tech.zumba.com/2012/09/19/schema-org-and-breadcrumb//>)

Author: Juan Basso (juan.basso@zumba.com)

Published: 2012-09-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Zumba](<https://devfeed.tech/sources/zumba.md>)

Topics: [Structured-data](<https://devfeed.tech/topics/structured-data.md>)

Tags: [how-to](<https://devfeed.tech/tags/how-to.md>), [product](<https://devfeed.tech/tags/product.md>), [schema](<https://devfeed.tech/tags/schema.md>), [solve](<https://devfeed.tech/tags/solve.md>)

### AI overview

A tutorial on solving breadcrumb implementation problems on product pages using Schema.org product microdata.

### Source excerpt

How to solve the problem of breadcrumbs inside product page

## P vs. NP, A Primer (And a Proof Written in Racket)

DevFeed: [P vs. NP, A Primer (And a Proof Written in Racket)](<https://devfeed.tech/articles/p-vs-np-a-primer-and-a-proof-written-in-racket-40263.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2012/02/23/p-vs-np-a-primer-and-a-proof-written-in-racket/>)

Published: 2012-02-23T19:57:35Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computing](<https://devfeed.tech/topics/computing.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Racket](<https://devfeed.tech/topics/racket.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [big-o-notation](<https://devfeed.tech/tags/big-o-notation.md>), [class](<https://devfeed.tech/tags/class.md>), [computational-complexity](<https://devfeed.tech/tags/computational-complexity.md>), [computing](<https://devfeed.tech/tags/computing.md>), [decidability](<https://devfeed.tech/tags/decidability.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [fast](<https://devfeed.tech/tags/fast.md>), [halting-problem](<https://devfeed.tech/tags/halting-problem.md>), [input](<https://devfeed.tech/tags/input.md>), [language](<https://devfeed.tech/tags/language.md>), [machine](<https://devfeed.tech/tags/machine.md>), [np-completeness](<https://devfeed.tech/tags/np-completeness.md>), [p-versus-np](<https://devfeed.tech/tags/p-versus-np.md>), [primer](<https://devfeed.tech/tags/primer.md>), [racket](<https://devfeed.tech/tags/racket.md>), [solve](<https://devfeed.tech/tags/solve.md>), [theory](<https://devfeed.tech/tags/theory.md>), [turing-machine](<https://devfeed.tech/tags/turing-machine.md>), [turing-machines](<https://devfeed.tech/tags/turing-machines.md>)

### AI overview

A primer on the distinction between decidability and computational efficiency, introducing the complexity class P and its definition in terms of polynomial-time decision by a Turing machine. It also discusses efficient algorithms and gives a card-sorting example.

### Source excerpt

Decidability Versus Efficiency In the early days of computing theory, the important questions were primarily about decidability. What sorts of problems are beyond the power of a Turing machine to solve? As we saw in our last primer on Turing machines, the halting problem is such an example: it can never be solved a finite amount of time by a Turing machine. However, more recently (in the past half-century) the focus of computing theory has shifted away from possibility in favor of determining feasibility.

## How to Handle Workplace Issues Proactively

DevFeed: [How to Handle Workplace Issues Proactively](<https://devfeed.tech/articles/issues-aren-t-always-bad-41079.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2010/01/25/Issues-Arent-Always-Bad/>)

Author: Map

Published: 2010-01-26T01:30:10Z

Content type: opinion

Language: en

Sources: [Craig Kerstiens](<https://devfeed.tech/sources/craig-kerstiens.md>)

Topics: [Job](<https://devfeed.tech/topics/job.md>)

Tags: [issue](<https://devfeed.tech/tags/issue.md>), [job](<https://devfeed.tech/tags/job.md>), [office](<https://devfeed.tech/tags/office.md>), [ownership](<https://devfeed.tech/tags/ownership.md>), [solve](<https://devfeed.tech/tags/solve.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

This workplace commentary explains that employees should communicate about problems early, adapt the amount of detail to their manager's preferences, take ownership of issues, and present possible solutions with their advantages and disadvantages.

### Source excerpt

I often encounter people whether at my office or at other places of employment that are distraught after getting an earful from a manager from some problem arising. The problem usually isn't in their control, and therefore they don't understand why they get heat for this. Most managers though do actually understand when issues come up, however what they don't appreciate is late notice, lack of problem solving, and dictating what should be done next. Managers typically want individuals to take control of a situation and work towards resolving it. One thing you can do to ease the backlash that may occur for issues coming up is to communicate proactively as things develop/occur or lack there of. Keep in mind this should relate well to your managers style, some managers only want details when they absolutely have to have them. In that case you'll want to gradually give your manager a heads up, but not burden him with too much information. I would venture to say however that most managers appreciate details, details are great to give them insight into how things are going and allow them to feel engaged at a lower level. So assume you've communicated regularly to your manager, this still does not prevent any issues from happening, but rather reduces the shock when something does. At this point a manager still does not want a fact stated that there's a problem. In every case I've encountered the manager wants you to take ownership of the issue, meaning to give some options. Once the problem has arisen you should instantly start looking for ways to solve it. Often time these ways are not within your power to make the final decision, though you do have a great deal of control in presenting the case to a manager. Finally if you want brownie points, take less credit for any of the work you've done and give your manager more. If you've communicated early, laid out various options for how to resolve the issue with pros and cons of each you've done what you can. This should make

## Solving Every Sudoku Puzzle

DevFeed: [Solving Every Sudoku Puzzle](<https://devfeed.tech/articles/solving-every-sudoku-puzzle-40588.md>)

Original publisher: [Read original article](<http://norvig.com/sudoku.html>)

Published: 2006-05-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Peter Norvig](<https://devfeed.tech/sources/peter-norvig.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Code](<https://devfeed.tech/topics/code.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [code](<https://devfeed.tech/tags/code.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [puzzle](<https://devfeed.tech/tags/puzzle.md>), [python](<https://devfeed.tech/tags/python.md>), [solve](<https://devfeed.tech/tags/solve.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

A tutorial explaining how to solve Sudoku puzzles with Python using constraint propagation and search. It models squares, units, and peers, then represents puzzle states with dictionaries of possible values.

### Source excerpt

Python code and an explanation of how to solve any Sudoku puzzle.