Based on our record, Observable should be more popular than JSON Placeholder. It has been mentiond 312 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
Encapsulation of base URL logic: Centralizes the host and scheme configuration (e.g. "https://jsonplaceholder.typicode.com"), keeping the logic DRY (Don't Repeat Yourself). - Source: dev.to / 27 days ago
Import Foundation Class NetworkManager { static let shared = NetworkManager() private let baseURL = "https://jsonplaceholder.typicode.com" func fetchMessages(completion: @escaping ([Message]?) -> Void) { guard let url = URL(string: "\(baseURL)/messages") else { return } let task = URLSession.shared.dataTask(with: url) { data, response, error in guard let data = data,... - Source: dev.to / about 1 month ago
Try fetching data from public APIs like JSONPlaceholder or OpenWeatherMap. - Source: dev.to / about 1 month ago
In this CodePen, you can see a simple debounce function in action. The function waits 500 milliseconds after the user stops typing. Then, it makes a request to the JSONPlaceholder API to display the relevant results. - Source: dev.to / about 2 months ago
Import requests Import pandas as pd # make request x = requests.get('https://jsonplaceholder.typicode.com/users') # go from JSON response to DataFrame Df = pd.DataFrame.from_dict(x.json()) # display DataFrame in the sheet Df. - Source: dev.to / about 2 months ago
"Observable is obnoxious if you want to add a D3 pie chart to your Vue application and have to untangle calls to D3’s API from reactive cell values, which look like ordinary JavaScript, but are not, and will cause compilation and runtime errors when copied." Yep - as I wrote: "If you want to just blindly copy and paste d3 code, you may have issues with the docs being hosted on observable." If instead you learn the... - Source: Hacker News / 24 days ago
I'd imagine many nested named capturing groups may trip even the best automated system! I do like the solution though. I would've probably approached it differently, trying to first get the 'inverted' match (i.e. Not matching anything that isn't a currency like pattern) and refine from there. A bit like this one I did a while back, to parse garbled strings that may occur after OCR [0]. I imagine the approach does... - Source: Hacker News / about 2 months ago
Was looking for some mention of Mike Bostock and his epic odyssey into this space. For those who aren't familiar https://observablehq.com/@mbostock. - Source: Hacker News / 3 months ago
I experimented with an Ohm/CodeMirror bridge that would map an Ohm grammar to CodeMirror classes for marks and syntax highlighting. It might be an interesting starting point for you: https://observablehq.com/@ajbouh/editor. - Source: Hacker News / 3 months ago
I have a fork of this that inverts the light model from additive to subtractive and suddenly its like ink in water https://observablehq.com/@tomlarkworthy/ink. - Source: Hacker News / 4 months ago
JSON Server - Get a full fake REST API with zero coding in less than 30 seconds. For front-end developers who need a quick back-end for prototyping and mocking
RunKit - RunKit notebooks are interactive javascript playgrounds connected to a complete node environment right in your browser. Every npm module pre-installed.
ReqRes - A hosted REST-API ready to respond to your AJAX requests.
D3.js - D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS.
Mockae - The most flexible way to mock REST APIs with Lua code execution
Vega-Lite - High-level grammar of interactive graphics