Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qiqitori
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
qiqitori
4y ago
Regular expressions in formulas. (Preferably Perl-style.) Golfing around with LEFT and MID and LEN and RIGHT gets old after a while, and I believe that regular expressions are much easier to explain to someone than the aforementioned nested
212.
▲
by
qiqitori
4y ago
And nothing of value was lost.
213.
▲
by
qiqitori
4y ago
> While energy usage has not been disclosed, it’s estimated that GPT-3 consumed 936 MWh. I'm a huge fan of energy efficieny, but this figure isn't all that much. Let's put things into perspective using some (probably somew
214.
▲
by
qiqitori
4y ago
C doesn't have that either. Most commonly people just do a linear search. If you have a bigger array you can either use a library or roll your own almost-hash table-kinda-thing. It's not that complicated to roll your own because y
215.
▲
by
qiqitori
4y ago
Hi, interesting Tell HN! I like repairing stuff, started in 2018 and gained more skills since. The Phenom II X4 isn't bad (according to https://www.cpubenchmark.net/cpu_list.php ), there is a variety of model numbers bu
216.
▲
by
qiqitori
4y ago
There's quite a few companies doing this where I live (Japan), e.g., https://change-x.jp/equipment . One important clause I saw was that the ownership of the panels automatically transfers back to the operating company
217.
▲
by
qiqitori
4y ago
> Aiwa Cassette deck won't play any cassette If you're interested in fixing this: it sounds like power comes on. So maybe the drive belt has disintegrated? Recently replaced a belt on a thing from the late 1970s. The belt was n
218.
▲
by
qiqitori
4y ago
The source code appears to be inside the .tic files, after a short binary header. To save you some time, if you can't figure out the controls for some demos, try the scroll wheel. You can also press Esc inside demos and get some kind o
219.
▲
by
qiqitori
4y ago
I've only seen the Sinclair ZX81. If the ribbon cable is similar (and it sure looks similar from a cursory image search) you should be able to fix the keyboard with just two electronics-related items, a multimeter with continuity mode
220.
▲
by
qiqitori
5y ago
Hmm, I have done some work in this field but obviously haven't seen all the board variations out there. The secure enclave (let's call it that because you did) will usually contain a master key that facilitates crypto operations o
221.
▲
by
qiqitori
5y ago
I have a 2nd gen Prius. You can generally use the EV button to prevent the motor from turning on. Perhaps unrelated, but when turning on the engine for the first time in a while the Prius will burn gas to heat up the engine. You can prevent
222.
▲
by
qiqitori
5y ago
I recently replaced a broken DRAM chip on one of those! https://blog.qiqitori.com/2022/02/testing-a-zx81-ram-pack-wi... (this is more about finding which one is the broken one than about the actual replacement) Th
223.
▲
by
qiqitori
5y ago
Does anyone have any examples of undefined behavior in C where it isn't pretty obvious that you'll get undefined behavior?
224.
▲
by
qiqitori
5y ago
Just yesterday I bought the Maestro FL listed here: https://archisite.co.jp/products/archiss/maestro/ I recommend you go to a shop that has a bunch of keyboards and try them all out. Then you should be able t
225.
▲
by
qiqitori
5y ago
I personally don't like how it's possible to store data on my device without me being able to access the data. Also most of the time these keys are used for DRM. So... good IMO.
226.
▲
by
qiqitori
5y ago
People shouldn't have to be experts in this stuff either just to put up a website somewhere, or worse keep up with every new ruling.
227.
▲
by
qiqitori
5y ago
Did they put pre-2000 Ericsson under Sony?
228.
▲
by
qiqitori
5y ago
Back in my day, the mantra was "Information wants to be free", and laws limiting freedom on the internet and freedom of information were looked down upon.
229.
▲
by
qiqitori
5y ago
Japanese for "let's write". (書こうね)
230.
▲
by
qiqitori
5y ago
Just be careful with -D, as it is relatively easy to accidentally make it possible for other computers to use your computer as a proxy too. By default, GatewayPorts in the sshd config is set to 'no', which will prevent this from h
231.
▲
by
qiqitori
5y ago
Your policy is blocking ptrace from processes that don't seem like they should need ptrace (very few processes need ptrace). So why would Firefox need ptrace? Some cursory googling suggests that ptrace is used for plugins and by the cr
232.
▲
by
qiqitori
5y ago
I generally use Firefox ESR and don't have any problems. (Note: if you use Slack things are a bit broken sometimes in Firefox ESR. In fact, there's a notice that they'll stop supporting this browser on March 1. I haven't
233.
▲
by
qiqitori
5y ago
Rule #1 of Google usage: turn off results based on search history. Think about it, how could that possibly improve your search results when you search for something you have never searched for before? I (sort of) remember the day that was a
234.
▲
by
qiqitori
5y ago
Maybe they could add a feature that disables commands from child-like voices, or let you register voice profiles to create whitelists or blacklists.
235.
▲
by
qiqitori
5y ago
I once did something similar with a Windows ebook reader that nicely let you copy up to 10 characters to the clipboard. I wrote an Autohotkey script that would mouse down->move the mouse->mouse up->copy to a variable, and then star
236.
▲
by
qiqitori
5y ago
There were no transistors during WWII. (The first one was demonstrated in late 1947 apparently.) A valve is a vacuum tube ( https://en.wikipedia.org/wiki/Vacuum_tube ).
237.
▲
by
qiqitori
5y ago
If it's C, cflow (example usage: cflow .c .h) and doxygen (needs some config, but there's a GUI) could come in handy. Doxygen is capable of generating call graphs if you install some external dependencies. If it's a differe
238.
▲
by
qiqitori
5y ago
Nitter.net is so much better -- comically better -- than Twitter's site. I'm on a somewhat slow computer right now, and loading a Twitter user's channel (sorry I can't remember the correct Twitter slang) takes like 3-4 s
239.
▲
by
qiqitori
5y ago
From my perspective, the hours worked may add up to $3000 in salary, but the staff member who solved the problem may feel very good about their accomplishment.
240.
▲
by
qiqitori
5y ago
The EFF doesn't need to give "the other side" because the other side is mostly obvious to the target audience (which isn't random people, Google itself is a huge part of the target audience). Note that Google doesn'
More ›