Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
knome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
knome
3y ago
>Wasn't that the computer that the first web browser and web server were developed for and on Tim Berners-Lee invented the WWW, and wrote the first server and browser while working for CERN.
242.
▲
by
knome
3y ago
Steam account names are immutable. I don't recall them ever offering to let you change the login name. Change the username? Sure. Change the email associated with the account? Yeah. But if you've got a near 20 year old steam accou
243.
▲
by
knome
3y ago
the PATH search is done in userspace by the exec'ing process. the kernel doesn't have or care what the processes' environment PATH says. it just gets the final location. shebang processing is the kernel peeking at the first c
244.
▲
by
knome
3y ago
you shouldn't be putting complex arguments in a shebang. it's there to tell where the interpreter for the current file is. shebang can't even handle more than a single argument on its own. if you have `#!/bin/progra
245.
▲
by
knome
3y ago
>at the moment I understood what recursion is I remember the exact moment I first discovered recursion. Some fantastic individual in our early 90's school district had arranged for LOGO clubs to be created in various schools, and ev
246.
▲
by
knome
3y ago
They have. https://www.youtube.com/watch?v=04JkdHEX3Yk
247.
▲
by
knome
3y ago
I do appreciate your expounding on this, but I assure you I do get it. Using types to track these things is the appropriate solution. In most languages you would either create a wrapping object you can get the original back from or perhaps
248.
▲
by
knome
3y ago
Narrowing involves actual types. I was referring to the compiler not checking mere value validation. I was referencing the kind of validation where someone checks a bunch of attributes of a string, usually, or perhaps the range of an intege
249.
▲
by
knome
3y ago
There is a game called TIS-100 where you solve problems using a grid of networked processors that can each store one current register and a second value you can swap to. It's an extremely constrained environment as such. There is one c
250.
▲
by
knome
3y ago
Objects open up some advantages in how you snap together code that namespaces alone do not. Code is much easier to deal with when you define abstractions around small sets of functionality and then allow the caller to pass in various object
251.
▲
by
knome
3y ago
I discovered how it works by fighting with the compiler far longer than I will admit trying to force it to import the other files in the directory :)
252.
▲
by
knome
3y ago
golang is pretty good for this. you can stick a bunch of files together and just mark them as being in the same package and all their functions will get wadded together in the resultant package for other stuff to import.
253.
▲
by
knome
3y ago
if you don't care about doing things right and packing crap into a shared virtual environment and all that, you can just create a directory called "deps". fill it with symlinks to directories you want to import or import from
254.
▲
by
knome
3y ago
There seems to have been a popular hatred of the SF area spreading around online for the last few months or so. At least that's when I noticed it. I went out there as a tourist early last month. I never managed to happen across the rov
255.
▲
by
knome
3y ago
>they taught children the value of group conformity and not being the nail that sticks up >The "lesson" is that the whole world doesn't revolve around you These strike me as very different things. Teaching kids to remai
256.
▲
by
knome
3y ago
>they taught children the value of group conformity and not being the nail that sticks up That seems like an awful lesson to impose on children. "Keep your head down and don't do anything to attract attention. Go to your grave
257.
▲
by
knome
3y ago
I think this should work, no? if you labeled them or create a search that is specific to them ( perhaps from:mailing-list@address ): there is a checkbox above the email listing. clicking it selects everything on the current page. instead of
258.
▲
by
knome
3y ago
* sperm whale: yes, this can also exact puerile giggling from native speakers * "You can't have your cake and eat it, too": might be better phrased as "can't eat your cake and have it, too". The idiom is stuck
259.
▲
by
knome
3y ago
>But no-one uses different databases I'll often use different databases, since it allows me to test everything but the database via unit testing, and I've moved projects from one backend to another with relative ease thanks to
260.
▲
by
knome
3y ago
They should reward the human players for being guessed as bots and the bots for being guessed as humans.
261.
▲
by
knome
3y ago
This seems to be a sort of "gotcha" question, wherein you pose points of precedent breaking for which I am likely to support the outcome but not the process. And you are right. I absolutely support both same-sex marriage and the c
262.
▲
by
knome
3y ago
Our laws are supposed to be interpreted via precedent. We are not a fly by night French civil system. Our legal traditions are rooted in maintaining centuries of stability within the law, altering those interpretations only in accordance wi
263.
▲
by
knome
3y ago
Ha. Amazing! Someone actually implemented a variant of COME FROM of C-INTERCAL infamy in another language. And moreover made it a reasonable and readable variant!
264.
▲
by
knome
3y ago
I would wonder if increasing the size of the image keeping the pixelation and then using a pixelation removal network might do better than this. Those, at least, are already trained to add detail where it isn't.
265.
▲
by
knome
3y ago
I suspect it should be possible to transform two intersected (K*,C,U) expressions into a new (K*,C,U) expression by walking over the two, dropping incompatible terms, reducing sets, and redistributing and expanding sub-expressions to combin
266.
▲
by
knome
3y ago
Russ Cox has an excellent write up on it. "Regular Expression Matching Can Be Simple And Fast" (2007) https://swtch.com/~rsc/regexp/regexp1.html
267.
▲
by
knome
3y ago
Your 'toss' primitive looks like common lisp's condition+restart, using a catch-block syntax in place of a `handler-bind` function. https://stackoverflow.com/questions/36178141/common-lisp-exc...
268.
▲
by
knome
3y ago
The GPT-4 APIs are also brain damaged. See my other response in this thread.
269.
▲
by
knome
3y ago
It appears to have a cut-off at thirty words. I tried some variations on getting it to return it verbatim to see what it would be willing to quote back to me. H: what is the litany against fear from Dune? R: The Litany Against Fea
270.
▲
by
knome
3y ago
Strange that /r/programming has been in lockdown all week. Last I remember, ketralnis and spez were the top two mods on it. Seems like it would be pretty easy to pop it back out of private if they wanted to.
More ›