Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uryga
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
uryga
6y ago
honestly, im pretty sure imgui can't help you here, i.e. you have to calculate all the necessary sizes/positions yourself and tell imgui where everything should be
92.
▲
by
uryga
6y ago
is a social media site really comparable to a newspaper? a newspaper has an editor who decides what goes into it, there's no "user generated content" outside their control
93.
▲
by
uryga
6y ago
> you cannot conclude that [a model] has no understanding based solely on what it is trained to do agreed. but that's not everything we're basing our conclusions on – we also know that GPT-3 was trained purely on text, and i
94.
▲
by
uryga
6y ago
nope, just installed the app to try it out and it pauses and prompts you to pay up :( [android/europe, ymmv elsewhere maybe?]
95.
▲
by
uryga
6y ago
> PHP8 isn't a different language, they just added some stuff on top of PHP5. there were some backwards-incompatible syntax changes between PHP 5 and 7 though. a client once switched on PHP 7 on his ancient WP website and it stopped
96.
▲
by
uryga
6y ago
i look at a nice HTML documentation page generated from the code. happily, no one has to maintain that by hand :) i like how haskell does it: https://hackage.haskell.org/package/base-4.14.0.0/docs/Data-...
97.
▲
by
uryga
6y ago
> I also do believe there is a system to allow countries to do identity attestation not sure about the rest of the EU, in Poland there's a thing called Trusted Profile ("Profil Zaufany") where your bank serves as an "
98.
▲
by
uryga
6y ago
i actually think both Django and Tensorflow would benefit from macros. in both cases you spend a lot of time writing what's really a DSL embedded into Python (defining models using a magic metaclass thingy / defining computation g
99.
▲
by
uryga
6y ago
it's something like... magical realism + hard sci-fi? not gonna attempt a portmanteau but ideas welcome
100.
▲
by
uryga
6y ago
sadly, it looks this still won't get us multi-line lambdas, because macro-expressions can only take other expressions as arguments :( (though the PEP wasn't really clear on this. the grammar rule they give is: macro_expr = MA
101.
▲
by
uryga
6y ago
do you have any ideas for making it look more like python?
102.
▲
by
uryga
6y ago
weird! on firefox this does the job: details.footnote > summary { list-style: none; } but doesn't work on chrome, not sure why. updated the code to include both, thanks!
103.
▲
by
uryga
6y ago
using <details> for popup-footnotes is a great idea! for anyone interested, here's a simple implementation (pure html+css): <style> details.footnote { display: inline; position: relative;
104.
▲
by
uryga
6y ago
yeah, that's the most common way of doing it afaik
105.
▲
by
uryga
6y ago
i think your version will break a bunch of common uses of `margin-{left,right}`; e.g. indenting like blockquote { margin-left: 15px; /* ... */ } won't work properly (it'll go all the way to the left). i
106.
▲
by
uryga
6y ago
right, but doesn't that contradict this: > "in Copper, variables only store functions" because here, `x` clearly stores an object... is this about the whole "object-function" thing where Copper doesn't rea
107.
▲
by
uryga
6y ago
> You put XML fragments inside a parent XML document using namespaces. could you post or link to an example? i'm not very familiar with advanced XML features or for a simple example: what would it look like to put `child` into `pare
108.
▲
by
uryga
6y ago
yeah, i think i get it now. but if variables can only store functions, how would you write something like this in Copper? x = foo() bar(x.a, x.b)
109.
▲
by
uryga
6y ago
> But at the same time this seems to require colons after... what exactly? not 100% sure but it kind of looks like copper's Whole Deal™ are "object-functions" (closures?) and you use colons to get an object function's
110.
▲
by
uryga
6y ago
try Poland, everything loads fine for me
111.
▲
by
uryga
6y ago
just wanted to say, i really like Jackbox's games and its really fun to see you here! i've been exposed to your games via youtube vids and it feels weird (but cool!) to have that intersect with HN. would love to read more about ho
112.
▲
by
uryga
6y ago
> good luck understanding [Swift] without encyclopedic knowledge. > I prefer C++11 C++ is like the prototypical example for "languages that require encyclopedic knowledge" so this seems like a weird comparison
113.
▲
by
uryga
6y ago
> Gutenberg is moving a lot of disparate concepts under the same roof now, and it provides / will provide a uniform, standard way for editing many parts of your site. yeah, and i hope it'll make the myriad mutually-incompatib
114.
▲
by
uryga
6y ago
> If users didn’t want these things, users wouldn’t buy them. doesn't follow. people buying a thing despite flaw X just means don't consider X a dealbreaker, not that they actually want X
115.
▲
by
uryga
6y ago
> there is quite some concurrency i think you meant "competition" here :) (in polish, my native language, it's "konkurencja", but it's a "false friend of the translator" ; i'm guessing you&#x
116.
▲
by
uryga
6y ago
i've always used python -c 'print("\a")' without thinking too much about it, but yours is way nicer!
117.
▲
by
uryga
6y ago
they're called AT-TE for anyone who wants to google it
118.
▲
by
uryga
6y ago
> old style attributes, old and new style classes pretty sure that's only a factor if you need to deal with Python 2
119.
▲
by
uryga
6y ago
> but now it's not good enough unless it's literally every piece of content from a single origin subscribing to 3 different streaming services has no benefit for the customer. there's no reason to pay for essentially the
120.
▲
by
uryga
6y ago
i don't wanna sound dismissive, i'm sure Etebase is a good fit for some things. but GP was asking for a crypto library, not a whole SaaS that will host all their chat data
More ›